• 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
Exposing a 'foreign' database through NSArrayController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Exposing a 'foreign' database through NSArrayController?
      • From: Chris Hanson <email@hidden>
    • Re: Exposing a 'foreign' database through NSArrayController?
      • From: "Michael Ash" <email@hidden>
    • Re: Exposing a 'foreign' database through NSArrayController?
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Re: clicking through
  • Next by Date: Re: Exposing a 'foreign' database through NSArrayController?
  • Previous by thread: NSBrowser, and the default contentValues binding
  • Next by thread: Re: Exposing a 'foreign' database through NSArrayController?
  • Index(es):
    • Date
    • Thread