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: dreamcat7 <email@hidden>
- Date: Mon, 10 Nov 2008 20:39:50 +0000
Hi,
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. If you intend to implement the NSTableDataSource Protocol -
then sure you can choose to represent your data in any ridiculous and
obscure way that you want. However i dont believe the OP made out that
they wanted to do that. And bear in mind that this whole discussion
about NSTableView is only actually relevant to this thread if the OP
intends to use an NSTableView. And they havent said that they are yet.
Surely its better to say that you are free to represent your data in
any way that is most reasonable / efficient ? This is an important
issue for any applications developer including those backing onto a
MYSQL database. Or in other words - what if you would like to write a
sensible app that doesnt pointlessly go around and around in circles ?
C'mon we have all seen many such examples in our day.
On 10 Nov 2008, at 19:55, I. Savant wrote:
On Mon, Nov 10, 2008 at 1:48 PM, mmalcolm crawford <email@hidden
> wrote:
NSTableView does not place any restriction on the way its data is
*represented*, just how it is *provided*.
The more important point of focus here is that the
*NSTableDataSource protocol* exists precisely *because* the
representation of the data shouldn't matter.
--
I.S.
_______________________________________________
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
_______________________________________________
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