XCODETUTORIAL.INT-INNOVATIONS.COM
1. Start your XCode and select Create a new XCode project
2. When prompted, select Windows-based application from iOS / Applications and press Next
3. Type MakeItFine into the Product Name text field. Device family is Universal because we want our application to run on both iPhone and iPad. We don't need Core Data and Unit Tests, so leave these checkboxes unchecked and press Next.
4. Now select the destination folder for your new project. It's up to you.
5. During the development of whole project, we'll need few images (you can download them here), so now it's the right time to add them. Right click on the MakeItFine folder in the Project Navigator sidebar and click on Add Files to "MakeItFine"... Navigate to Images directory, select Copy items into destination group's folder (if needed) and press Add.
6. Our application is quite simple, so we'll need only one view controller. Again, right click on MakeItFine folder and now select New File.... Then select UIViewController subclass from iOS / Cocoa Touch and press Next. Save As: MakeItFineViewController.m and press Save.
7. Open MainWindow_iPhone.xib and drag & drop View Controller from Library into Objects. Select it and then in the Identity Inspector change it's class to MakeItFineViewController. Repeat the same with MainWindow_iPad.xib.
8. Now add Views. Right click on the iPhone folder and select New File then select View from iOS / User Interface and press Next. Device family is iPhone. Name it MakeItFineView_iPhone.xib and press Save. Now repeat the same but on the iPad folder, select iPad as a Device Family and also name it MakeItFineView_iPad.xib.
9. Now in MainWindow_iPhone.xib select Make It Fine View Controller and in Attributes Inspector set it's NIB Name to MakeItFineView_iPhone. Repeat the same with iPad.
10. Select Window in Objects and in Connections Inspector drag a line from rootViewController to the Make It Fine View Controller in Objects sidebar. Repeat the same for iPad.
11. Now we need to setup a class to our views. Select MakeItFineView_iPhone.xib and after selecting File's Owner in Placeholders sidebar, change it's class to MakeItFineViewController in Identity Inspector. Now drag a connection from view in Connections Inspector to View in Objects sidebar. Repeat the same for iPad.
12. Congratulations! First part of your app is done. You can try to run it on both iPhone and iPad simulators. It should be working.
FOLLOW XCodeTutorial.int-innovations.com FOR THE REMAINING VIDEOS
English Close Caption added - voice over will be available soon...
iPhoneAppStepByStep 7 months ago