Sorry, my bad for writing confusion and rubbish at 1:40am.
I meant to talk about discussion as here:
http://www.cocoabuilder.com/archive/message/cocoa/2005/5/27/137132
but see also the next messages
Tim
On 9 Oct 2008, at 06:36, Scott Anguish wrote:
On 8-Oct-08, at 8:46 PM, Tim Isted wrote:
Am Do,09.10.2008 um 02:46 schrieb Tim Isted:
Did you setup the bindings using Interface Builder or
programatically? If programatically, they work in only one direction
so you need to call
[object1 bind:@"value" toObject:object2
withKeyPath:@"whateverPathForKeyIs" options:nil]; and
[obj
On 8-Oct-08, at 8:46 PM, Tim Isted wrote:
Did you setup the bindings using Interface Builder or
programatically? If programatically, they work in only one direction
so you need to call
[object1 bind:@"value" toObject:object2
withKeyPath:@"whateverPathForKeyIs" options:nil]; and
[object
On 8 Oct 2008, at 7:21 PM, Chris Idou wrote:
I've got an NSObjectController controlling an object. This content
object's properties are bound to various fields on my screen.
It seems that the bindings are only working in one direction.
Editing the fields updates the object, but programmatic
From: Tim Isted <[EMAIL PROTECTED]>
> Subject: Re: Just when I thought I understood bindings.
> To: cocoa-dev@lists.apple.com
> Date: Wednesday, October 8, 2008, 5:46 PM
> Did you setup the bindings using Interface Builder or
> programatically?
> If programatically, they
Did you setup the bindings using Interface Builder or programatically?
If programatically, they work in only one direction so you need to call
[object1 bind:@"value" toObject:object2
withKeyPath:@"whateverPathForKeyIs" options:nil]; and
[object2 bind:@"value" toObject:object1
withKeyPath:
I set them up in interface builder.
--- On Wed, 10/8/08, Tim Isted <[EMAIL PROTECTED]> wrote:
> From: Tim Isted <[EMAIL PROTECTED]>
> Subject: Re: Just when I thought I understood bindings.
> To: [EMAIL PROTECTED]
> Date: Wednesday, October 8, 2008, 5:36 PM
> Did y
Since I've added my own observers to the properties, and they are getting
called correctly after I set the values, I guess I must be right?
--- On Wed, 10/8/08, Rob Keniger <[EMAIL PROTECTED]> wrote:
> From: Rob Keniger <[EMAIL PROTECTED]>
> Subject: Re: Just when
On 09/10/2008, at 10:21 AM, Chris Idou wrote:
It seems that the bindings are only working in one direction.
Editing the fields updates the object, but programmatically updating
the object doesn't update the gui.
I've added observers to my fields, and they are definitely notifying
of chan