Re: @property problem
Re: @property problem
- Subject: Re: @property problem
- From: "Kyle Sluder" <email@hidden>
- Date: Mon, 11 Feb 2008 16:28:12 -0500
On 2/11/08, Randall Meadows <email@hidden> wrote:
> AFAICT, "capturing" IS the name of my ivar. What is it *really*
> complaining about? What did I do wrong?
You are incorrect. Re-read the documentation closely; on 32-bit
architectures (the "non-fragile instance variable runtime") you must
provide an instance variable for your property. If it does not have
the same name as the property, you must specify this in your
declaration.
On 64-bit architectures, you can omit the ivar declaration.
Also, you have not specified a memory management method in your
@property declaration, which you must do if you are not using garbage
collection.
HTH,
--Kyle Sluder
_______________________________________________
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