well i was watching a programing tutorial and when i copy the code i keep getting an error saying
type of property 'bg' (UIImageView*) does not match type of ivar 'bg'(UIImage*__strong)
i'm programing in xcode 4.2.1 in single view controller
my code is:
@interface ViewController : UIViewController{
UIImage * bg;
}
@property(nonatomic,retain) IBOutlet UIImageView *bg;
---------------------------------------------------------
@implementation ViewController
@synthesize bg; // this is where the error comes up