Hi all,

I've been reading the archives for hours, trying to figure out the
'rules' for what can and cannot be done in awakeFromInsert.

1) Is it ok to execute a fetch from awakeFromInsert?  One might want to
do this to set a default property value that depends on other objects'
state.  It seems the answer is no.

2) Is it ok to create other managed objects in awakeFromInsert?  One
might want to do this to set initial relationships.  It seems the answer
is yes.

I'm hoping someone can confirm/deny these.

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 [EMAIL PROTECTED]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to