Re: NSManagedObjectContext's undoManager is nil on macOS
Re: NSManagedObjectContext's undoManager is nil on macOS
- Subject: Re: NSManagedObjectContext's undoManager is nil on macOS
- From: Dave Fernandes <email@hidden>
- Date: Thu, 06 Sep 2018 16:28:26 -0400
Ah - thank you! I should read those release notes more carefully. Will close
the bug I just filed.
> On Sep 6, 2018, at 3:56 PM, 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
>> <mailto: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