Presentation is loading. Please wait.

Presentation is loading. Please wait.

Xcode Presentation Tom Pletzke. Creating App from template Launch Xcode Select Tabbed Application.

Similar presentations


Presentation on theme: "Xcode Presentation Tom Pletzke. Creating App from template Launch Xcode Select Tabbed Application."— Presentation transcript:

1 Xcode Presentation Tom Pletzke

2 Creating App from template Launch Xcode Select Tabbed Application

3 Important Files AppDelegate MainStoryBoard ViewController First.png Supporting Files Frameworks

4 Test the Template Select Product in Menu, then Edit Scheme to change test device.

5 Add Icon Adding 57x57 icon Adding 114x114 retina icon Creating icons from images on internet not recommended

6 Add Icon Drag and drop icons over App Icons squares Remove app from simulator Run app in simulator to verify new icons

7 Add Icon Remove gloss effect by setting Icon already includes gloss effect to YES

8 Add A Table View Controller Use Objects on Utilities View and drag Table View Controller into storyboard

9 Add A Table View Controller Embed in Navigation Controller

10 Add A Table View Controller Click Tab Bar Controller, hold the Ctrl key and drag to Navigation Controller and release Double click item text under icon and change name to Third

11 Add Program Files For Table View Select File, New, New File from menu Select UIViewController subclass

12 Add Program Files For Table View Name the file ThirdViewController Select Subclass of UITableViewController Make sure boxes for Targeted for iPad and With XIB for user interface are not checked

13 Add Program Files For Table View Create in group Test Files will appear Test group

14 Assign Table Programs to Table View Controller Select table view in storyboard Select the identity inspector on Utility view Under custom class select class box and type in ThirdViewController and press enter

15 Name The Table View Double click the table bar and type in Third Table

16 Change Table View to Subtitles Click on table cell in storyboard and change style to Subtitle

17 Adding Text In The Table View Change the CellIdentifier string to the name you gave it in the storyboard: MyCell Add cell.textLabel.text and cell.detailTextLabel.text in the configure the cell area

18 Test Run of Table View With Text Select Run from Menu under Product

19 Errors and Warnings Warnings and Errors can be found in the issue navigator and the number is displayed under project name at the top

20 Add Database Framework Select your project on the project navigator Select the summary tab and scroll to Linked frameworks and Libraries

21 Add Database Framework Click the + sign and select CoreData.framework and click Add

22 Add Database Framework On the Project Navigator drag the CoreData.framework under the Frameworks group

23 Add Database Select File, New File Choose Data Model and click Next

24 Add Database Type TestDataModel in Save As and click Create

25 Add Entity to Database Data Model screen is displayed Select Add Entity

26 Add Entity to Database Enter MyTable for entity name

27 Add Attribute to Entity Click + under Attributes and type strTest and select String from the Type selection box

28 Xcode Presentation Tom Pletzke Questions


Download ppt "Xcode Presentation Tom Pletzke. Creating App from template Launch Xcode Select Tabbed Application."

Similar presentations


Ads by Google