On May 21, 2015, at 10:40 , Fritz Anderson <fri...@manoverboard.org> wrote: > > 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.
You didn’t misinterpret the question, but there’s no such build setting, so you have to solve the problem indirectly. — You turn on the @synthesize warning. — The warning message tells you when you’ve omitted a @synthesize. — You add the “new-style” @synthesize: @synthesize myProperty = _myProperty; — Then all of your old naked ‘myProperty’ ivar references produce compile errors. QED. Changing an old-style ‘@synthesize myProperty;’ to the new style leads to a similar result, but there’s no initial warning message to lead you there by the hand. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com