• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ivars and fundamental types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ivars and fundamental types
      • From: Dave Keck <email@hidden>
References: 
 >ivars and fundamental types (From: Rick Mann <email@hidden>)
 >Re: ivars and fundamental types (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: ivars and fundamental types
  • Next by Date: Re: ivars and fundamental types
  • Previous by thread: Re: ivars and fundamental types
  • Next by thread: Re: ivars and fundamental types
  • Index(es):
    • Date
    • Thread