Re: How to manage (My)SQL data in Cocoa
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