• 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: Jim Hamilton <email@hidden>
  • Date: Tue, 19 Jul 2005 12:15:57 -0400


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


  • Follow-Ups:
    • Re: Where do I define awakeFromFetch?
      • From: Charles Haron <email@hidden>
References: 
 >Where do I define awakeFromFetch? (From: Charles Haron <email@hidden>)

  • Prev by Date: Backup files or not
  • Next by Date: Re: Table bindings to objects
  • Previous by thread: Where do I define awakeFromFetch?
  • Next by thread: Re: Where do I define awakeFromFetch?
  • Index(es):
    • Date
    • Thread