Dave. I’ll help you out if you need it on Skype or whatever. But first, have you embedded your first view controller in a navigation controller? Select your first view controller in the storyboard. From the Editor menu, select “Embed In” and then select “Navigation Controller”.
If that doesn’t work, email me and I’ll set aside time to help you. What do you mean, “the documentation is soooooo poor”? I’ll send you my course that explains this to as if you are an actual human. Send me an email offline and a Skype contact to zavatone. i’ll be happy to try and remove some of the misery by illustrating a simple case of how this works. Intuitive, it sure isn’t. Cheers. Happy Monday. - Alex Zavatone > On Jun 19, 2017, at 1:24 PM, Dave <[email protected]> wrote: > > XCode 8.3.3. > > Hi All, > > I’m using storyboards on an iOS project and can’t seem to get it to work. > > I have two view controllers in the “Main.storyboard” file. The fist view > controller has one button on it, that when clicked, I want it to go to the > other view controller. > > I’ve tried using Segues but can’t get that to work so decided to to it > manually. > > I have a method in the first view controller that is hooked to the button as > so: > > -(IBAction) startGameAction:(id) theSender > { > LTWChaosBoardViewController* myGameViewController; > UIView* > myView; > > myGameViewController = [self.storyboard > instantiateViewControllerWithIdentifier:@"LTWChaosBoardViewController1”]; > myView = myGameViewController.view; > } > > This returns the correct View Controller but does not actually present it. > How do I do this? > > The documentation is sooooooo poor that I just can’t find anything that is of > help. > > All the Best > Dave > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
