• 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
How To Unbind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How To Unbind


  • Subject: How To Unbind
  • From: Richard Somers <email@hidden>
  • Date: Mon, 31 Aug 2009 06:37:10 -0600

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 (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: View Swapping Issue.
  • Next by Date: Re: Errors & Warnings Smart Group Missing from XCode 3.2
  • Previous by thread: Re: View Swapping Issue.
  • Next by thread: Re: How To Unbind
  • Index(es):
    • Date
    • Thread