On Oct 8, 2010, at 20:04:13, Sherm Pendley wrote:

> On Fri, Oct 8, 2010 at 9:50 PM, Rick Mann <rm...@latencyzero.com> 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 (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 arch...@mail-archive.com

Reply via email to