UIViewController with UIView-inherited class, programmatically?

Your UIViewController will something that looks like.

Your UIViewController will something that looks like #import "h" @implementation PanoramaViewController - (void)loadView { self. View = PLView plview//or whatever it takes to create the plview. } - (void)viewDidLoad { //create more objects } - (void)viewDidUnload { //release unwanted objects that were created viewDidLoad } -(void) dealloc { // release all super dealloc; } @end more info... here.

In the place where you create your viewController, also create an instance of your custom view, and then set that view to your controller's view: PanoramaViewController *controller = PanoramaViewController alloc init; PLView *view = PLView alloc init; controller. View = view.

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.

Related Questions