• 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: complicated (I think) Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: complicated (I think) Binding


  • Subject: Re: complicated (I think) Binding
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 11 Mar 2006 16:16:18 -0800


On Mar 11, 2006, at 4:00 PM, Mike Abdullah wrote:

From your solution, I have a question. You say to bind to selectedValue to the popup button, but that it will give me the result minus the extension. What if I were to bind to selectedObject instead? (I am still trying to learn what these various options are actually for!

Binding options are documented here:
<http://developer.apple.com/documentation/Cocoa/Reference/ CocoaBindingsRef/>


An example of a pop-up list using bindings is given here:
	<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
(see "To-Dos").

I think the key point may be that I need a NSArrayController, I hadn't really considered using one for this situation previously.

It's not clear why you would not consider the use of an array controller to manage an array?


mmalc

_______________________________________________
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


  • Follow-Ups:
    • Re: complicated (I think) Binding
      • From: Mike Abdullah <email@hidden>
References: 
 >complicated (I think) Binding (From: Mike Abdullah <email@hidden>)
 >Re: complicated (I think) Binding (From: John Pannell <email@hidden>)
 >Re: complicated (I think) Binding (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Transparent windows (was Re: dock related question)
  • Next by Date: Re: Code to Run on Application Load
  • Previous by thread: Re: complicated (I think) Binding
  • Next by thread: Re: complicated (I think) Binding
  • Index(es):
    • Date
    • Thread