On Tue, Jun 23, 2009 at 11:45 PM, Chunk 1978 wrote:
> i've seen code where this is written:
>
> -=-=-=-
> @property (nonatomic, retain) UIImageView *image;
> ...
> @synthisize image;
> ...
> [image release]; //in dealloc method
> -=-=-=-
>
> aren't setters/getters methods used only for objects t
On 24/06/2009, at 1:45 PM, Chunk 1978 wrote:
aren't setters/getters methods used only for objects that need to have
their value changed? assuming the UIImageView in the above code
always maintains the same image throughout the program, are setter and
getters still required? perhaps the above
i've seen code where this is written:
-=-=-=-
@property (nonatomic, retain) UIImageView *image;
...
@synthisize image;
...
[image release];//in dealloc method
-=-=-=-
aren't setters/getters methods used only for objects that need to have
their value changed? assuming the UIImageView in the a