Theocacao
Leopard
Design Element
Comment on "A Quick Objective-C 2.0 Tutorial"
by britt — Oct 28
Just spotted something... in this declaration, assign is redundant; as it's the default.

@property (assign) NSInteger yearReleased;

Also, I should point out that this will bite you (but not too hard, the compiler will issue warnings) if you leave out retain or copy on object-type properties in a non-gc environment.
Back to "A Quick Objective-C 2.0 Tutorial"
Design Element

Copyright © Scott Stevenson 2004-2015