I”m having trouble finding out how to add a new window to an app that is not based on a table view, but is a single window based app (which now needs a window to enter a few settings). All the tutorials start with the table view template, so if anyone has any pointers, I’d much appreciate it.
Thanks.
Go look at the example code you found and look for the ‘tableView:didSelectRowAtIndexPath’ method. In here it’ll show you how to push a new view. You’ll probably want to do something similar so make sure your main view has a navigation controller setup and do something along these lines:
You can call these lines from a button tap or some other action on the visible view. This will create your next view controller and bring it to the front. If you’re looking to do something modal (presented from the bottom of the view) then you’ll want to use
presentModalViewController:animatedinstead.You may also want to look into a tabbed controller as this might suite your purposes well also.