We’re going to create a simple application for the iPhone using a navigation bar and a table view. This application will be able to move between 2 screens using a navigation bar. The first view will use a table view, and the text on the second screen will change depending on the selection from the table.
Creating the XCode project
First, go ahead and create a new project. Choose the Empty Application template, name your project SimpleNavbarApp and choose as Device Family “iPhone”. This template will generate just the app delegate files: AppDelegate.h and AppDelegate.m. We will add more files to the project later.