On 10/8/08 10:21 AM, mmalc crawford said:

>> So does the same advice apply for init methods?  That is: set ivars
>> directly (unless there is no ivar, in which case you have no choice
>> but
>> to call the setter).
>>
>Yes.

One last related question, if I may.

What about awakeFromInsert/awakeFromFetch?  If my entity has an
attribute named 'firstName', should I use the (magically pre-existing)
method setFirstName: or should I use setPrimitiveValue:forKey:?

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 [EMAIL PROTECTED]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to