In my class object i've defined a (nonatomic, retain)
property for UIImage
.
I assigned this property with an image loaded via
[UIImage imageNamed:@"file.png"];
If at some point I want to reassign this property to another image, should I have to release the prior reference?
I am confused because by the retain property I know i should release it.
But because imageNamed:
is a convenience method (does not use alloc), im not sure what rule to apply here.
Thanks for the insight!