views:

103

answers:

2

If I define an property and just do:

@property(nonatomic) UIButton* button;

then I think that it's an "assign" property. Is that correct?

+2  A: 

yes it is.

Brad Smith
It's probably clearer to just include all the attributes, though.
Mark Bessey
+4  A: 

default values of property params are

assign, readwrite and "atomic" (there is no keyword "atomic". only nonatomic)

oxigen