• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableview datasource issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSTableview datasource issues (From: email@hidden)

  • Prev by Date: Re: Releasing Objects
  • Next by Date: IPhone- Datasensitive bug from CoreData...
  • Previous by thread: Re: NSTableview datasource issues
  • Next by thread: Core Data validateForUpdate
  • Index(es):
    • Date
    • Thread