Hi all,

Just a quick point for discussion.

Suppose I have a read-only BOOL property. What’s better, to declare it as:

@property (readonly) BOOL isFoo;

or:

@property (readonly, getter=isFoo) BOOL foo;


Is there any advantage to one over the other? n.b. I’d always use the latter 
form for read/write properties, it’s readonly ones that I’m wondering about.

—Graham



_______________________________________________

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

Reply via email to