Re: IB Binding no error, Programmatic Binding error
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