Users adding views
- by adamprocter
I have created a main page (myAppViewController) and a add page rect button I have also created a page template (TemplateAViewController) all set up in Interface builder. 
I would like users to be able to add as many templates themselves and then page through them.
I am not sure where to start. I can create views programmatic like so 
-(IBAction)createnewpage : (id) sender { 
myAppViewController  *viewcontroller = [[myAppViewController alloc] initWithNibName:@"TemplateAViewController" bundle:[NSBundle mainBundle]]; 
 [[self view] addSubview:viewcontroller.view]; }
I then want to be able to navigate through these views- I guess I need to create a navigation controller to do this ?