On Jan 28, 2010, at 04:57, Richard Somers wrote: > - (void)awakeFromNib > { > [self bind:@"array" > toObject:arrayController > withKeyPath:@"arrangedObjects" > options:nil]; > > [arrayController addObserver:self > forKeyPath:@"arrangedObjects.changed" > options:NSKeyValueObservingOptionNew > context:self]; > }
Could you maybe say what you're trying to do here? As is, this code looks completely and utterly wrong. "array" is an instance variable (and, by default, perhaps a property, but it's not a binding, AND the direction of the dependency looks unlikely. "arrangedObjects.changed" doesn't look like something you can observe. Maybe there is more code elsewhere that clarifies this. Did you check the log for exception messages? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com