• 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: NSManagedObjectContext's undoManager is nil on macOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSManagedObjectContext's undoManager is nil on macOS


  • Subject: Re: NSManagedObjectContext's undoManager is nil on macOS
  • From: Rick Mann <email@hidden>
  • Date: Thu, 06 Sep 2018 13:31:38 -0700

"although remember that both NSError** out parameters and exceptions are
autoreleased and do not escape block lexical scope happily"

That statement needs to be linked to clarification.

> On Sep 6, 2018, at 12:56 , Jeff Nadeau <email@hidden> wrote:
>
> This behavior changed in 10.12  for applications linked against that SDK or
> later. It’s listed in the “Behavioral changes” section of the Core Data
> release notes for that year:
> https://developer.apple.com/library/archive/releasenotes/General/WhatNewCoreData2016/ReleaseNotes.html#//apple_ref/doc/uid/TP40017342-CH1-DontLinkElementID_10
>
> <https://developer.apple.com/library/archive/releasenotes/General/WhatNewCoreData2016/ReleaseNotes.html#//apple_ref/doc/uid/TP40017342-CH1-DontLinkElementID_10>
>
> There's a documentation bug to correct the information on the
> NSManagedObjectContext class doc. I’ll give it a little bump.
>
> Going forward, you can set the undoManager property with your own
> NSUndoManager after you’ve initialized the context.
>
> - Jeff
>
>> On Sep 5, 2018, at 7:33 PM, Dave Fernandes <email@hidden>
>> wrote:
>>
>> The docs say:
>> "In macOS, a context provides an undo manager by default; on iOS, the undo
>> manager is nil by default.”
>>
>> However, I am finding on macOS 10.13.6, the undoManager is always nil when
>> creating a MOC. Is this new behavior expected for High Sierra, or is it a
>> bug?
>> _______________________________________________
>>
>> 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
>
> _______________________________________________
>
> 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


--
Rick Mann
email@hidden


_______________________________________________

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

References: 
 >NSManagedObjectContext's undoManager is nil on macOS (From: Dave Fernandes <email@hidden>)
 >Re: NSManagedObjectContext's undoManager is nil on macOS (From: Jeff Nadeau <email@hidden>)

  • Prev by Date: Re: NSManagedObjectContext's undoManager is nil on macOS
  • Next by Date: Re: Mojave Privileged Helper Tool - full disk access
  • Previous by thread: Re: NSManagedObjectContext's undoManager is nil on macOS
  • Next by thread: Mojave Privileged Helper Tool - full disk access
  • Index(es):
    • Date
    • Thread