• 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: Tue, 19 Jul 2005 10:40:36 -0600 (GMT-06:00)

That appears to be exactly what I needed.  Thanks.  I'll give it a try.

Charles

-----Original Message-----
From: Jim Hamilton <email@hidden>
Sent: Jul 19, 2005 10:15 AM
To: Charles Haron <email@hidden>
Cc: email@hidden
Subject: Re: Where do I define awakeFromFetch?


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

  • Prev by Date: unreleased retained objects
  • Next by Date: Re: unreleased retained objects
  • Previous by thread: Re: Where do I define awakeFromFetch?
  • Next by thread: Distributed Objects, PerlObjCBridge and Apache
  • Index(es):
    • Date
    • Thread