• 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: @property problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: @property problem
      • From: Brian Christensen <email@hidden>
References: 
 >@property problem (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: Core Data Cascade delete rule sometimes doesn't
  • Next by Date: Re: @property problem
  • Previous by thread: Re: @property problem
  • Next by thread: Re: @property problem
  • Index(es):
    • Date
    • Thread