Re: getting ivar of fundamental types with object_getInstanceValue
Re: getting ivar of fundamental types with object_getInstanceValue
- Subject: Re: getting ivar of fundamental types with object_getInstanceValue
- From: Graham Cox <email@hidden>
- Date: Tue, 05 Mar 2013 14:43:01 +1100
On 05/03/2013, at 1:23 PM, Ignacio Enriquez <email@hidden> wrote:
> What would be the best way to set the value of a ivar?
Make it a property and simply assign to it? Or, within the class itself, just assign to it.
It might help the rest of us if you state your goals here, because I can't see any reason to use object_setInstanceVariable() unless you are doing something very low-level or non-standard.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden