Re: awakeFromFetch : when it is called ?
Re: awakeFromFetch : when it is called ?
- Subject: Re: awakeFromFetch : when it is called ?
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 15 Jan 2006 15:49:01 -0800
On Jan 15, 2006, at 1:39 PM, Eric Morand wrote:
I'm trying to use awakeFromFetch to initialize some properties on
my managed object subclass and I was wondering when it was called.
It is not the method "executeFetchRequest:..." (it works perfectly,
returns some result, but awakeFromFetch is not called) and I don't
know which other method could call awakeFromFetch ?
Per <http://developer.apple.com/documentation/Cocoa/Reference/
CoreData_ObjC/Classes/NSManagedObject.html#//apple_ref/occ/instm/
NSManagedObject/awakeFromFetch>, it gets called automatically after
an object is fetched or unfaulted...
Check that you have spelled the method name correctly (also ensure
that you invoke super...).
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden