• 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: TreeController and "selection" Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TreeController and "selection" Binding


  • Subject: Re: TreeController and "selection" Binding
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 12 Feb 2016 14:52:02 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sgSLTrlmpH:SMTPCORP

On Feb 12, 2016, at 14:24 , Michael de Haan <email@hidden> wrote:
>
> using the “selectionIndexPaths” binding of the TreeController  (from IB) I should be able to use that information to trace it back ( with key paths) to my model instance

Not unless you’ve provided the necessary key paths, as properties on each object that needs to be traversed to get to the right place in your data model.

The difference between binding in IB and binding using code (if that’s what you’ve been doing) is that with code you have a freer choice of binding targets. To do the equivalent in IB, you might be forced to add some KVO-compliant properties in order to “find” the correct target object.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: TreeController and "selection" Binding
      • From: Michael de Haan <email@hidden>
References: 
 >TreeController and "selection" Binding (From: Michael de Haan <email@hidden>)
 >Re: TreeController and "selection" Binding (From: Quincey Morris <email@hidden>)
 >Re: TreeController and "selection" Binding (From: Michael de Haan <email@hidden>)
 >Re: TreeController and "selection" Binding (From: Quincey Morris <email@hidden>)
 >Re: TreeController and "selection" Binding (From: Michael de Haan <email@hidden>)
 >Re: TreeController and "selection" Binding (From: Quincey Morris <email@hidden>)
 >Re: TreeController and "selection" Binding (From: Michael de Haan <email@hidden>)

  • Prev by Date: Re: NSAttributedString: how to add an underline (dotted line) between tab stops?
  • Next by Date: Re: TreeController and "selection" Binding
  • Previous by thread: Re: TreeController and "selection" Binding
  • Next by thread: Re: TreeController and "selection" Binding
  • Index(es):
    • Date
    • Thread