NSLog the value of cont. View and I think you will find it to be nil, which explains why nothing's happening. This is not the normal way to create a UIViewController -- it's not wrong to create one programmatically, but 99.99% of the time UIViewController subclasses are created with the main UIView in a .
Xib file. A freshly created UIViewController object has a nil "view" member, so you've got to initialize it somehow, either by loading a .xib.
NSLog the value of cont. View and I think you will find it to be nil, which explains why nothing's happening. This is not the normal way to create a UIViewController -- it's not wrong to create one programmatically, but 99.99% of the time UIViewController subclasses are created with the main UIView in a .
Xib file. A freshly created UIViewController object has a nil "view" member, so you've got to initialize it somehow, either by loading a . Xib: MyViewController *vc = MyViewController alloc initWithNibName@"MyViewController" bundle:nil autorelease; or manually creating the view: MyViewController *vc = MyViewController alloc init autorelease; UIView *theView = UIView alloc initWithFrame:viewframe autorelease; vc.
View = theView; Then you can move the view's frame to your heart's content, but moving the base view of a view controller is usually not what you want to do, you want to create sub-views and move those around.
UIViewController allocinit is wrong. The designated initializer for UIViewController is initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle. Even that does not necessarily initialize the view outlet to an actual UIView immediately.
You need to subclass UIViewController and perform your customisations in the viewDidLoad method of that subclass. In the interim is likely that view is nil so you can try setting whatever properties of it you like without anything ever happening.
I think you should be able to use -(void) loadView { super loadView; //create your views programmatically here } in order to create your viewController programmatically and avoid the IB. Normally the IB calls this method for you when your 'view' property is nil, however if you're avoid the IB make sure to include the above method so your view property is not nil.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.