Re: Setter Getter on NSImageVIew / UIImageView?

2009-06-24 Thread Michael Ash
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

Re: Setter Getter on NSImageVIew / UIImageView?

2009-06-24 Thread Graham Cox
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

Setter Getter on NSImageVIew / UIImageView?

2009-06-24 Thread Chunk 1978
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