Re: Implementing Table Selection Support for Custom Controller?
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