• 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: Where do I define awakeFromFetch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Where do I define awakeFromFetch? (From: Charles Haron <email@hidden>)
 >Re: Where do I define awakeFromFetch? (From: Jim Hamilton <email@hidden>)

  • Prev by Date: Re: Adding 30 minutes to an NSDate
  • Next by Date: Re: NSFileManager - "Can't read ..." - Strange update
  • Previous by thread: Re: Where do I define awakeFromFetch?
  • Next by thread: Re: Where do I define awakeFromFetch?
  • Index(es):
    • Date
    • Thread