• 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: Calling processPendingChanges from awakeFromInsert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling processPendingChanges from awakeFromInsert


  • Subject: Re: Calling processPendingChanges from awakeFromInsert
  • From: mmalc crawford <email@hidden>
  • Date: Thu, 20 Sep 2007 17:01:59 -0700


On Sep 20, 2007, at 2:07 PM, Michael Burns wrote:

This is an NSPersistentDocument based application. Every time a new document is created, an entity called a "Project" is created which stores all sorts of global data relevant to that document. The awakeFromInsert from below is for another NSManagedObject ("WBObject") which is created through cocoa bindings as I explained.

First, it's not immediately clear why you can't use the pattern shown in the Persistent Document Tutorial -- unless the user has to perform the button click? In which case, it seems it would be easier to manage control of creation of new objects from the controller (as ever, just because you're using bindings doesn't mean you don't have to write code and can't subclass... <http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSObjectController_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObjectController/newObject >).

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


References: 
 >Calling processPendingChanges from awakeFromInsert (From: Michael Burns <email@hidden>)
 >Re: Calling processPendingChanges from awakeFromInsert (From: Jim Correia <email@hidden>)
 >Re: Calling processPendingChanges from awakeFromInsert (From: Michael Burns <email@hidden>)

  • Prev by Date: Re: new class
  • Next by Date: Core Data guidance Was: Calling processPendingChanges from awakeFromInsert
  • Previous by thread: Re: Calling processPendingChanges from awakeFromInsert
  • Next by thread: cross platform distributed objects?
  • Index(es):
    • Date
    • Thread