Re: Disabling auto-synthesis of property accessors.
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