• 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: Disabling auto-synthesis of property accessors.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling auto-synthesis of property accessors.


  • Subject: Re: Disabling auto-synthesis of property accessors.
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 21 May 2015 12:40:27 -0500

On 21 May 2015, at 12:27 PM, Kyle Sluder <email@hidden> wrote:
>
> On Thu, May 21, 2015, at 12:11 PM, Alex Zavatone wrote:
>> Jens mentioned that it was possible to turn off the auto-synthesis of
>> properties in the build options of the target.
>>
>> This would be quite useful to help me iron out items that need to be
>> refactored in my current project.
>>
>> My google skills are weak.  I can't find out how to do this.  Anyone care
>> to clue me in?  All the responses I see state that it's not possible.
>
> Project editor > Build Settings > Search for "synth"

I must have misinterpreted the question. I had understood Alex wanted a build option to turn off the auto-synthesis of properties, so the compiler could complain at every conflation of ivars with @propertys.

The search you suggest (at least in the ObjC project I have open in 6.3.2) turns up only the warning for the lack of @synthesize in the @implementation. The global feature itself seems to be mandatory. (I could guess why that would be reasonable.)

	— F


_______________________________________________

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: Disabling auto-synthesis of property accessors.
      • From: Jens Alfke <email@hidden>
    • Re: Disabling auto-synthesis of property accessors.
      • From: Quincey Morris <email@hidden>
References: 
 >Disabling auto-synthesis of property accessors. (From: Alex Zavatone <email@hidden>)
 >Re: Disabling auto-synthesis of property accessors. (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Disabling auto-synthesis of property accessors.
  • Next by Date: Re: NSFontPanel swamping the responder chain (and crashing)
  • Previous by thread: Re: Disabling auto-synthesis of property accessors.
  • Next by thread: Re: Disabling auto-synthesis of property accessors.
  • Index(es):
    • Date
    • Thread