• 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: Synthesized ObjC ivars (iPhone Simulator)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Synthesized ObjC ivars (iPhone Simulator)


  • Subject: Re: Synthesized ObjC ivars (iPhone Simulator)
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 11 May 2010 11:09:17 -0700


On May 11, 2010, at 10:41 AM, Fritz Anderson wrote:

This is confusing. I've seen it explicitly said that I can omit ivars in the "modern" runtime, which explicitly includes the iPhone. Here it says the iPhone itself does _not_ support the part of the modern runtime that "accesses Objective-C class metadata," which for all I know includes synthesis of instance variables.

My take on this is that the simulator is using the OS X 32-bit runtime, which doesn't support synthesizing instance variables at runtime. It's another side effect of the simulator environment being a hybrid between OS X and iPhone.


I don't think "accessing Obj-C class metadata" refers to this feature. More likely it refers to the APIs that let you introspect classes at runtime and look up their methods and instance variables.

—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Synthesized ObjC ivars (iPhone Simulator) (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Synthesized ObjC ivars (iPhone Simulator)
  • Next by Date: Re: Synthesized ObjC ivars (iPhone Simulator)
  • Previous by thread: Re: Synthesized ObjC ivars (iPhone Simulator)
  • Next by thread: Re: Synthesized ObjC ivars (iPhone Simulator)
  • Index(es):
    • Date
    • Thread