My class is describes as follows: @interface AppController : NSObject <MGTwitterEngineDelegate,NSTableViewDataSource>
I tried removing NSObject and putting it there, but that did not work - any clues? Thanks, btw On 18 Feb 2010, at 12:28, Graham Cox wrote: > > On 18/02/2010, at 11:21 PM, Michael Davey wrote: > >> Weird, cos when I change the Active SDK in Xcode to 10.5 I get the following >> error: >> >> cannot find protocol declaration for 'NSTableViewDataSource' >> >> And the docs here: >> >> http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/ApplicationKit/Protocols/NSTableDataSource_Protocol/Reference/Reference.html >> >> Suggest that it is available to 10.6 and later >> >> Any idea what I might be doing wrong? >> > > > In 10.6, NSTableViewDataSource became a formal protocol, where previously it > was an informal one. While the docs are strictly correct, they're a bit > misleading since the methods of the protocol have been available since 10.0 > > If your datasource is declared thus: > > @interface MyDS <NSTableViewDataSource> > > ... > > @end > > you need to remove the angle bracket part for 10.5 > > --Graham > > _______________________________________________ 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