can someone please explain why you do @synthesize and @property things on xcode? like, in really simple terms. im so new to this, and dont really get it.
cheers
Sam
can someone please explain why you do @synthesize and @property things on xcode? like, in really simple terms. im so new to this, and dont really get it.
cheers
Sam
Properties and synthesized accessors are new features in Objective-C 2.0.
When you declare a @property
you declare somewhat an instance var. Then you @synthesize
accessor methods (i.e. getter and setter) for that property.
There are also @dynamic
accessors if you're interested.
You should really do your homework on this. Apple has nifty pdf for that.