objective c subclass UIImageView
I'm trying to subclass UIImageView to add some custom functionality in it. I started trying to do the basics, just init an object with a given image and display it on the screen. Using UIImageView everything works fine, but if i change my object from UIImageView to my custom class, no image is displayed. Here's what i've done so far: //Imager.h #import <UIKit/UIKit.h> @interface Imager : UIImageView { } -(id) init; -(void) retrieveImageFromUrl: (NSString *)the_URL; @end //Imager.m #import "Imager.h" @implementation Imager @synthesize image; -(id)init { self = [super init]; return self; } -