On 2/18/10 12:07 PM, Michael Davey said:

>I am writing an app that needs to be able to target 10.5 at least and
>hopefully 10.4, but I have just found that the way that table views are
>handled has changed - does anyone have a link to some documentation for
>the old way to do things?

<http://developer.apple.com/mac/library/releasenotes/Cocoa/Foundation.html>

"Formal Protocol Adoption" says:

If you need to target Leopard or Tiger with the same sources, you should
conditionally declare empty protocols, or else the compiler will
complain about missing protocols declarations. For example:
#if MAC_OS_X_VERSION_10_6 > MAC_OS_X_VERSION_MAX_ALLOWED
@protocol NSConnectionDelegate <NSObject> @end
#endif

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to