I have looked at MoveMe example.
Now I tried to do almost same, but I don't want to use View class.
I created View-Based Application project and added some lines:
Still application window is grey. I am trying to understand deeply what are those terms (Uview, ViewController, ...), and that's why I wanted to do at this way.
I have lot of experience from C-language but not from Objective-C. So some examples are very easy for me because they contains c-functions, but not that beginning.
...and sorry my English
Now I tried to do almost same, but I don't want to use View class.
I created View-Based Application project and added some lines:
Code:
@interface TestViewController : UIViewController {
UIImage *mainImage;
}
- (void)viewDidLoad {
[super viewDidLoad];
mainImage = [UIImage imageNamed:@"TestImage.png"];
[mainImage drawAtPoint:(CGPointMake(130.0, 130.0))];
}
Still application window is grey. I am trying to understand deeply what are those terms (Uview, ViewController, ...), and that's why I wanted to do at this way.
I have lot of experience from C-language but not from Objective-C. So some examples are very easy for me because they contains c-functions, but not that beginning.
...and sorry my English