@property for int type?

Viewed 27126

Just a quick question if I may, I have always (since learning obj-c) written int properties as follows...

@property(nonatomic, assign) int myValue;

I am now thinking that this might be overkill and I might as well write...

@property int myValue;

Just curious, I know that "assign" is the default behaviour and that "nonatomic" can be fractionally faster ...

all the best

Gary

3 Answers
Related