• 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: Key value coding in EOEntity WAS Generating EO Java Files in xcode 2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key value coding in EOEntity WAS Generating EO Java Files in xcode 2.1


  • Subject: Re: Key value coding in EOEntity WAS Generating EO Java Files in xcode 2.1
  • From: Tonny Staunsbrink <email@hidden>
  • Date: Tue, 21 Jun 2005 17:02:00 +0200


On Jun 20, 2005, at 6:56 PM, 時期 精霊 wrote:


My preferences would be to skip autogenerating code and use the design pattern introduced with CoreData. There yor customized object subclasses ManagedObject (which is kinda equal to EOGenericRecord) and only adds new logic. Attributes access is handled purely through key/value coding.



What do you mean by that?

You do:

person.takeValueForKey("John", "firstName");

instead of

person.setFirstName("John");

?

Yes, exactly that.
Regards

Kuon



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Generating EO Java Files in xcode 2.1 (From: "Colin" <email@hidden>)
 >Re: Generating EO Java Files in xcode 2.1 (From: Tonny Staunsbrink <email@hidden>)
 >Key value coding in EOEntity WAS Generating EO Java Files in xcode 2.1 (From: 時期 精霊 <email@hidden>)

  • Prev by Date: Unified Documentation Browser
  • Next by Date: Strange Object entering Session differs in Dev vs. Deploy
  • Previous by thread: Key value coding in EOEntity WAS Generating EO Java Files in xcode 2.1
  • Next by thread: RE: Generating EO Java Files in xcode 2.1
  • Index(es):
    • Date
    • Thread