• 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: 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

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

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