I have a controller.

     NSArrayController *controller;

Then I establish a binding programmatically which works fine.

     [controller bind:@"managedObjectContext"
             toObject:self
          withKeyPath:@"managedObjectContext"
              options:nil];

Then I unbind programmatically which does not work. By does not work I mean that there is no error produced and the binding still remains in place.

     [controller unbind:@"managedObjectContext"];

The managedObjectContext property of self changes. So I bind, unbind, and then rebind programmatically. Does anyone know why the unbind does not work?

Richard

_______________________________________________

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

Reply via email to