• 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: Disabling Undo in Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling Undo in Core Data


  • Subject: Re: Disabling Undo in Core Data
  • From: mmalc Crawford <email@hidden>
  • Date: Sat, 01 Aug 2009 13:58:07 -0700


On Aug 1, 2009, at 5:11 AM, Squ Aire wrote:

1) In awakeFromNib, call either [[self managedObjectContext] setUndoManager:nil]; or [[[self managedObjectContext] undoManager] disableUndoRegistration]; This certainly works, but the problem with this is that the NSManagedObjectContextObjectsDidChangeNotification will stop being sent when the context changes!

It's not clear why you make this assertion? A simple test shows this is not the case...

Did you register for NSManagedObjectContextObjectsDidChangeNotification or @"NSManagedObjectContextObjectsDidChangeNotification"?

mmalc

_______________________________________________

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


  • Follow-Ups:
    • RE: Disabling Undo in Core Data
      • From: Squ Aire <email@hidden>
References: 
 >Disabling Undo in Core Data (From: Squ Aire <email@hidden>)

  • Prev by Date: Re: Disabling Undo in Core Data
  • Next by Date: Re: How to change focus ring color?
  • Previous by thread: Re: Disabling Undo in Core Data
  • Next by thread: RE: Disabling Undo in Core Data
  • Index(es):
    • Date
    • Thread