• 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: IB Binding no error, Programmatic Binding error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB Binding no error, Programmatic Binding error


  • Subject: Re: IB Binding no error, Programmatic Binding error
  • From: Michael Hanna <email@hidden>
  • Date: Tue, 12 Jul 2005 13:25:46 -0400

thanks, this was clearly the problem. Do you have any specific suggestions of reading material to cover so that this sort of concept is properly 'grokked' for me? I'm at the point where I feel I have the 'basics' of bindings down, but runtime errors such as these tend to trip me up too easily.

regards,
Michael

On 12-Jul-05, at 3:54 AM, Scott Anguish wrote:


On Jul 12, 2005, at 3:47 AM, Michael Hanna wrote:


I have an NSArrayController called Categories in IB that populates an NSTableViewColumn which is an NSPopUpButtonCell is bound to display its contents(similar to mmalc's ToDo example).

When the user double-clicks the selected row in the NSTableView I need to 'edit' the existing row. So in the resulting window I bind an NSPopUpButton to show the same contents as the Categories array in the selected row, but I want to select the same object in the NSPopUpButtonCell so I try:


[oLucidityPassagePopUp bind: @"selectedObject" toObject: oPassagesController withKeyPath: @"properties.lucidity" options: nil];


(I made oPassagesController an IBOutlet, which is connected)



your controller doesn't respond to properties.. you actually want "selection.properties.lucidity"



_______________________________________________ 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
References: 
 >IB Binding no error, Programmatic Binding error (From: Michael Hanna <email@hidden>)
 >Re: IB Binding no error, Programmatic Binding error (From: Scott Anguish <email@hidden>)

  • Prev by Date: Drawing problems after modal window
  • Next by Date: Re: Finding out mouse button state outside of event stream
  • Previous by thread: Re: IB Binding no error, Programmatic Binding error
  • Next by thread: Can you provide some code advice for a newbie please?
  • Index(es):
    • Date
    • Thread