• 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: Scott Anguish <email@hidden>
  • Date: Tue, 12 Jul 2005 03:54:12 -0400


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

  • Prev by Date: IB Binding no error, Programmatic Binding error
  • Next by Date: Re: Apple system icons: guidelines for use in Cocoa applications?
  • Previous by thread: IB Binding no error, Programmatic Binding error
  • Next by thread: Re: IB Binding no error, Programmatic Binding error
  • Index(es):
    • Date
    • Thread