• 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: How to manage (My)SQL data in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to manage (My)SQL data in Cocoa


  • Subject: Re: How to manage (My)SQL data in Cocoa
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 10 Nov 2008 14:29:59 -0800


On Nov 10, 2008, at 12:39 PM, dreamcat7 wrote:

Sorry maybe i should have clarified that but i believed that Quincey had already explained about the datasource methods. You *must* (if you dont want to end up in a heap of self-inflicted mess) represent your data in those way - WHEN you intend to link to an NSTableView using bindings.

Again, as I stated in my first reply, no, you don't.

All that's required is that you implement the relevant KVC-/KVO- compliant accessor methods. Provided that you do, how you represent the data behind them is, as with the data source methods, entirely up to you -- for the same reason I.S. noted for the data source methods.
Per Quincey's reply, it's certainly the case that the most natural fit is going to be if you use an array, but that's not the same as saying that you *must* adopt a particular way of representing your data.


mmalc


_______________________________________________

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: 
 >How to manage (My)SQL data in Cocoa (From: Michele Barboni <email@hidden>)
 >Re: How to manage (My)SQL data in Cocoa (From: Quincey Morris <email@hidden>)
 >Re: How to manage (My)SQL data in Cocoa (From: dreamcat7 <email@hidden>)
 >Re: How to manage (My)SQL data in Cocoa (From: mmalcolm crawford <email@hidden>)
 >Re: How to manage (My)SQL data in Cocoa (From: "I. Savant" <email@hidden>)
 >Re: How to manage (My)SQL data in Cocoa (From: dreamcat7 <email@hidden>)

  • Prev by Date: Stop NSFileManager copyFile in progress? Can you kill a thread?
  • Next by Date: variable sensitive to Active Build Configuration
  • Previous by thread: Re: How to manage (My)SQL data in Cocoa
  • Next by thread: NSArrayController, bindings and NSUserDefaults
  • Index(es):
    • Date
    • Thread