1

If I define an property and just do:

@property(nonatomic) UIButton* button;

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

Thanks
  • 40,109
  • 71
  • 208
  • 322
  • 1
    You've asked several questions that are answered directly in Apple's documentation about properties; have you read http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocProperties.html#//apple_ref/doc/uid/TP30001163-CH17 ? – smorgan Apr 30 '09 at 14:19
  • Thanks for the link. I should read that. – Thanks Apr 30 '09 at 15:00

2 Answers2

8

default values of property params are

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

oxigen
  • 6,263
  • 3
  • 28
  • 37
1

yes it is.

Brad The App Guy
  • 16,255
  • 2
  • 41
  • 60