Exposing a 'foreign' database through NSArrayController?
Exposing a 'foreign' database through NSArrayController?
- Subject: Exposing a 'foreign' database through NSArrayController?
- From: "Stefan Arentz" <email@hidden>
- Date: Sun, 10 Sep 2006 23:12:30 +0200
I have a large database in a proprietary binary format that I would
like to show in a simple NSTableView. This is all read-only.
Is this is good use case for subclassing NSArrayController?
How would that work? Should I simply let arrangedObjects return my own
NSArray implementation that knows how to retrieve data from the
proprietary database and wrap it in a Objective-C class? I have
potentially hunderds of thousands of rows in this database so I would
prefer to implement some kind of lazy loading mechanism in my 'fake'
NSArray implementation.
Is this the right way to do it?
S.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden