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

Re: How To Unbind


  • Subject: Re: How To Unbind
  • From: Mike Abdullah <email@hidden>
  • Date: Tue, 1 Sep 2009 12:08:51 +0100


On 31 Aug 2009, at 13:37, Richard Somers wrote:

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"];

Aside from the question, note that there is a NSManagedObjectContextBinding constant which you would probably be better off using.


_______________________________________________

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: Drawing over a transparent background
  • Next by Date: Re: Drawing over a transparent background
  • Previous by thread: Re: CGImageDestinationFinalize image destination does not have enough images ?
  • Next by thread: Re: refresh issue with QLPreviewPanel..!
  • Index(es):
    • Date
    • Thread