• 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: CoreData and undo/redo : how to add a managed object with attributes already set in the undo/redo stack ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData and undo/redo : how to add a managed object with attributes already set in the undo/redo stack ?


  • Subject: Re: CoreData and undo/redo : how to add a managed object with attributes already set in the undo/redo stack ?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 1 Jul 2010 10:03:26 -0700

On 2010 Jun 29, at 13:47, Sean McBride wrote:

> I don't believe that's the right pattern.  In awakeFromInsert/Fetch, one
> should be using primitive setters.  The docs say "..."

You're correct, Sean.  I thought I got that pattern from some Apple sample code, but I can't find it now.

Use of primitive setters in -awakeFromInsert seems less kludgey, and is also demonstrated in "NSPersistentDocument Core Data Tutorial", Chapter 3.

_______________________________________________

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: class_respondsToSelector() in runtime.h?
  • Next by Date: how to set custom icon folder to invisible?
  • Previous by thread: Re: KVO question
  • Next by thread: Re: CoreData and undo/redo : how to add a managed object with attributes already set in the undo/redo stack ?
  • Index(es):
    • Date
    • Thread