Re: [F-Script-talk] [ANN] F-Script 1.3.1 Release Candidate
Brought to you by:
pmougin
From: Jonathan 'W. R. <ni...@re...> - 2006-01-30 02:56:10
|
Todd Blanchard, tbl...@ma..., wrote: >It is possible to say 'anObject setFoo: aValue' and 'anObject foo' to >an NSManagedObject if the object's entity has property >'foo' (basically it maps setFoo: to setValue: forKey:'foo' and foo to >valueForKey:'foo' > >This is nice as creating custom subclasses of NSMangedObject just to >get accessors is monkey coding and it gets tedious always writing >'anObject setValue: aValue forKey: 'foo'' all the time. Ah, cool. Yeah, I was doing a lot of setValue:forKey: just today. Was almost enough to get me to figure out how to hook up EOGenerator with Core Data. Almost. ;-) | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |