Re: NSTableViewDataSource Protocol
Re: NSTableViewDataSource Protocol
- Subject: Re: NSTableViewDataSource Protocol
- From: Michael Davey <email@hidden>
- Date: Thu, 18 Feb 2010 16:13:33 +0000
Thanks for that!
On 18 Feb 2010, at 16:05, Sean McBride wrote:
> 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 email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden