• 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: Implementing Table Selection Support for Custom Controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing Table Selection Support for Custom Controller?


  • Subject: Re: Implementing Table Selection Support for Custom Controller?
  • From: mmalc crawford <email@hidden>
  • Date: Wed, 25 Apr 2007 19:02:58 -0700


On Apr 25, 2007, at 10:46 AM, Colin Cornaby wrote:

I'm writing my own custom controller that does not use an NSArray for it's backing (it uses a remote array of objects). I'm basically trying to mimic an NSArrayController and am trying to figure out how to implement the the selection observing of a table view that NSArrayController does.

It's not clear what you mean by "remote array".
Can you not simply use an ordinary NSArrayController and in whatever object it is that manages the "remote array" implement suitable indexed accessor methods to "simulate" the array?
<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/AccessorConventions.html#//apple_ref/doc/uid/20002174-178830-BAJEDEFB >


mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Implementing Table Selection Support for Custom Controller?
      • From: Colin Cornaby <email@hidden>
References: 
 >Implementing Table Selection Support for Custom Controller? (From: Colin Cornaby <email@hidden>)

  • Prev by Date: Re: Many-To-Many Relationship Interface in Core Data
  • Next by Date: Re: Many-To-Many Relationship Interface in Core Data
  • Previous by thread: Re: Implementing Table Selection Support for Custom Controller?
  • Next by thread: Re: Implementing Table Selection Support for Custom Controller?
  • Index(es):
    • Date
    • Thread