ok i wanted to do a changing background app i did this in the MyvIew.h file
@interface MyView : UIView
{
IBOutlet UIView *color;
}
-(IBAction)Light

id)sender;
-(IBAction)Dark

id)sender;
@end
and this in the MyViem.m file
@implementation MyView
-(IBAction)lumiere

id)sender
{
[self.view setBackgroundColor:[UIColor whiteColor]];
}
-(IBAction)ombre

id)sender
{
[self.view setBackgroundColor:[UIColor blackColor]];
}
@end
like you told me, i made 2buttons and 1 View and i connect them but wen i build it says
error:request for member 'view'in something not a structure or union ...
help please