• 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
Bindings Sample code / Suggested reading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings Sample code / Suggested reading


  • Subject: Bindings Sample code / Suggested reading
  • From: Glen Simmons <email@hidden>
  • Date: Tue, 2 Aug 2005 17:13:41 -0500

First, I'd like to ask for suggestions for sample code and further reading on bindings. I'm struggling to get up the learning curve and would appreciate any suggestions. I've read the Cocoa Bindings Programming Topic and played with the Currency Converter example, but they fell a bit short for me.

Second, some specific questions:
My goal is to use bindings for an inspector panel in my app. I'm part- way there - I have an NSTreeController in my Inspector.nib that has its contentObject bound to Shared Application.mainWindow.windowController.document.rootObject. I threw in an NSOutlineView and bound it to the NSTreeController, so I know it's traversing the model correctly. Now I'm trying to bind UI elements to the document's selection. It appears from the stuff I've found that I need to bind the NSTreeController's selectionIndexPaths to something, but I'm not sure what to do there. Also, when the selection in my document changes, how does the NSTreeController learn about it?


Thanks,
Glen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: NSOutlineView and drag-to-trash
  • Next by Date: Re: NSOutlineView and NSTreeController
  • Previous by thread: NSOutlineView and drag-to-trash
  • Next by thread: Bindings Sample code / Suggested reading
  • Index(es):
    • Date
    • Thread