On Sep 29, 2008, at 10:15 PM, D.K. Johnston wrote:
Am I right in assuming that property attributes like "assign" and "nonatomic" have no effect for types like NSInteger and BOOL? i.e.

        @property NSInteger myInteger;

is exactly the same as:

        @property(assign,nonatomic) NSInteger myInteger;

Maybe. It is entirely architecture dependent. If your code were ever to be compiled for or run on an architecture that does not guarantee atomic assigns of BOOLs or NSIntegers, then atomic/nonatomic wouldn't mean the same thing.

b.bum

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to