Re: ivars and fundamental types
Re: ivars and fundamental types
- Subject: Re: ivars and fundamental types
- From: Rick Mann <email@hidden>
- Date: Fri, 8 Oct 2010 20:58:57 -0700
On Oct 8, 2010, at 20:04:13, Sherm Pendley wrote:
> On Fri, Oct 8, 2010 at 9:50 PM, Rick Mann <email@hidden> wrote:
>> Can I not use the objective-C runtime to get and set an objects ivar's if they are of primitive types like int and float?
>
> Of course you can - it would be useless otherwise. Where did you get
> the idea you can't?
object_setIvar() takes type id.
--
Rick
_______________________________________________
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