Re: NSTableview datasource issues
Re: NSTableview datasource issues
- Subject: Re: NSTableview datasource issues
- From: Kyle Sluder <email@hidden>
- Date: Thu, 24 Dec 2009 22:54:07 -0500
On Dec 24, 2009, at 8:34 PM, email@hidden wrote:
Xcode could for example flag the datasource method where I had
capitalized objectValueForTableColumn, either by pointing out that
the method does not exist in interface or that I need to implement
datasource methods correctly.
The incorrect capitalization should have triggered an "undeclared
selector" warning. Building with errors as warnings will prevent these
warnings from slipping through the cracks.
As for implementing the methods "correctly," there is only so much the
compiler can do. It can't verify your program operates correctly; it
can make sure you have implemented all the required methods of a
formal protocol, but NSTableView's datasource methods only became a
formal protocol in the 10.6 SDK.
--Kyle Sluder
_______________________________________________
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