• 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
Do synthesized instance variables work in iPhone SDK?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do synthesized instance variables work in iPhone SDK?


  • Subject: Do synthesized instance variables work in iPhone SDK?
  • From: Eric Hermanson <email@hidden>
  • Date: Tue, 24 Mar 2009 17:36:24 -0400

I tried using Obj-C properties to synthesize not only the accessor methods, but also the instance variable. I ended up with an error saying something like "...must explicitly name an ivar...".

I was under the impression the iPhone ran the modern (64-bit) Objective-C runtime. I'm using xCode 3.x and iPhone SDK 2.2. Are synthesized instance variables not supported, or do I need to change some xCode/project configuration settings to activate this support (I'd really like to use it)?

Does the fact that I'm linking to the Sen Test Kit Framework, or running on a relatively old Intel MacBook Pro cause this problem?

Finally, if iPhone SDK does not support synthesized instance variables, does iPhone SDK 3.0 beta support them?

Thank You,
Eric

_______________________________________________

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: Do synthesized instance variables work in iPhone SDK?
      • From: Bill Bumgarner <email@hidden>
    • Re: Do synthesized instance variables work in iPhone SDK?
      • From: Dave DeLong <email@hidden>
  • Prev by Date: Re: NSLevelIndicator Bindings Crash
  • Next by Date: Re: iPhone Tab bar Question
  • Previous by thread: Re: file system query
  • Next by thread: Re: Do synthesized instance variables work in iPhone SDK?
  • Index(es):
    • Date
    • Thread