Re: Where do I define awakeFromFetch?
Re: Where do I define awakeFromFetch?
- Subject: Re: Where do I define awakeFromFetch?
- From: Charles Haron <email@hidden>
- Date: Wed, 20 Jul 2005 17:02:09 -0600
Thanks...That worked. My transient values are now working properly.
Thanks again.
Charles
On Jul 19, 2005, at 10:15 AM, Jim Hamilton wrote:
On Jul 19, 2005, at 11:48 AM, Charles Haron wrote:
Hello All,
I created an application from "Core Data Application" template. I
created my entity with the data modeler, and then dragged the
entity to
my main window in Interface Builder, which automatically created the
interface for my data access.
I have an entity that has an attribute called price, and a
transient attribute called
finalPrice. I want to set finalPrice to be a percentage of price. I
I know from the documentation I want to use awakeFromFetch and
setPrimitiveValue:forKey: (see below)
I know that awakeFromFetch is a method of NSManagedObject. However,
when I do search of all files in the project, I find no references
any
NSManagedObject. So the question now becomes, where do I define
awakeFromFetch?
<http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/03_CustomClass/
chapter_4_section_1.html#//apple_ref/doc/uid/TP40001799-CH219-TP9>
--
Jim Hamilton
email@hidden
email@hidden
_______________________________________________
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