Re: Do synthesized instance variables work in iPhone SDK?
Re: Do synthesized instance variables work in iPhone SDK?
- Subject: Re: Do synthesized instance variables work in iPhone SDK?
- From: Dave DeLong <email@hidden>
- Date: Tue, 24 Mar 2009 20:37:50 -0600
The iPhone itself does support synthesized instance variables, if
you're compiling for the device. If you're compiling for the
simulator, you must have the ivars in place because the simulator uses
the old runtime underneath.
So to answer your questions succinctly,
- synthesized ivars are supported on the iPhone device, but not the
iPhone simulator
- SenTestKit has nothing to do with it
- Discussion of pre-release software should happen in the approved
channels (but the runtime won't have changed)
Dave
On Mar 24, 2009, at 3:36 PM, Eric Hermanson wrote:
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