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: Keary Suska <email@hidden>
- Date: Wed, 25 Apr 2007 18:05:04 -0600
- Thread-topic: Implementing Table Selection Support for Custom Controller?
on 4/25/07 11:46 AM, email@hidden purportedly said:
> 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.
Might be a good case to use data source/delegate instead. But to try to
answer your question, I believe that NSArrayController maintains its own
selection state, and NSTableView's selectionIndexes binding is bound to it.
This is one of the bindings that happens behind the scenes when you bind a
table column value to an array controller.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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