On Thu, Nov 12, 2009 at 2:52 AM, Joerg Simon <j_si...@mac.com> wrote:

> Dear all other Cocoa Developers:
>
> In an app I am developing I have the following strange thing:
>
> [code in the .h file]
> @interface XY : CALayer
>    BOOL _editing;
> ...
> @property (assign, getter = isEditing) BOOL editing;
>
> [/code]
>
> [code in the .m file]
> @synthesize editing = _editing;
> @dynamic editing;


The @dynamic is entirely unnecessary; you should use @synthesize or
@dynamic, but not both.

-BJ
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to