Using Xcode1    iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
Setting Up Your Project in Xcode2               iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
Setting Up Your Project in Xcode•   create a new project.•   Connect with existing projects.•   Open user guide.•   Go to ...
project template selection sheet4               iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
project options sheet5         iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
The Xcode Workspace Window6            iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
The Xcode Workspace Window•   The Toolbar•   The Navigator View•   The Jump Bar•   The Utility Pane•   Interface Builder• ...
8   iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
DemoWindow    The Xcode Workspace9         iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
Introducing Xcode’s Interface Builder10                 iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
What’s in the Nib File?• It is the right place to add the objects that  make up your application’s user interface.        ...
File’s Owner & First Responder• File’s Owner represents the object that loaded the  nib file from disk. In other words, Fi...
The Library• The library is where you’ll  find stock objects from the  UIKit that are available for  use in Interface Buil...
The Library• File template library: contains a collection of file  templates to add a new file to your project.• Code snip...
Demo View     Adding a Label to the15         iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
Changing Attributes• the inspector pane is  topped by a series of icons,  each of which changes the  inspector to view a s...
Finishing Touches• Adding icon to the app     – 57 x 57 & 114 × 114 pixels .why?     – (.png) file.     – Just normal & sq...
Demo app     Adding icon to the18       iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
Upcoming SlideShare
Loading in …5
×

Beginning iOS6 Development CH02 Using Xcode

590 views

Published on

Beginning iOS6 Development CH02 Using Xcode

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
590
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Beginning iOS6 Development CH02 Using Xcode

  1. 1. Using Xcode1 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  2. 2. Setting Up Your Project in Xcode2 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  3. 3. Setting Up Your Project in Xcode• create a new project.• Connect with existing projects.• Open user guide.• Go to developer.apple.com.3 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  4. 4. project template selection sheet4 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  5. 5. project options sheet5 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  6. 6. The Xcode Workspace Window6 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  7. 7. The Xcode Workspace Window• The Toolbar• The Navigator View• The Jump Bar• The Utility Pane• Interface Builder• New Compiler and Debugger7 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  8. 8. 8 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  9. 9. DemoWindow The Xcode Workspace9 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  10. 10. Introducing Xcode’s Interface Builder10 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  11. 11. What’s in the Nib File?• It is the right place to add the objects that make up your application’s user interface. When you create objects in Interface Builder, they’ll be instantiated in your program when that nib file is loaded• Every nib file starts off with the same two icons: • File’s Owner: • First Responder These two are created automatically and cannot be deleted.11 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  12. 12. File’s Owner & First Responder• File’s Owner represents the object that loaded the nib file from disk. In other words, File’s Owner is the object that “owns” this copy of the nib file.• First Responder is the object with which the user is currently interacting. First Responder icon gives you a convenient way to communicate with whatever control or other object is the current first responder, without needing to write code to determine which control or view that might be.12 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  13. 13. The Library• The library is where you’ll find stock objects from the UIKit that are available for use in Interface Builder. – File template library – Code snippet library – Object library – Media library13 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  14. 14. The Library• File template library: contains a collection of file templates to add a new file to your project.• Code snippet library: features a collection of code snippets you can drag into your source code files.• Object library: is filled with reusable objects, such as text fields, labels, sliders, buttons, and just about any object you would ever need to design your iOS interface.• Media library: is for all your media, including pictures, sounds, and movies.14 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  15. 15. Demo View Adding a Label to the15 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  16. 16. Changing Attributes• the inspector pane is topped by a series of icons, each of which changes the inspector to view a specific type of data. To change the attributes of the label, we’ll need the fourth icon from the left, which brings up the object attributes inspector.17 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  17. 17. Finishing Touches• Adding icon to the app – 57 x 57 & 114 × 114 pixels .why? – (.png) file. – Just normal & square.17 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  18. 18. Demo app Adding icon to the18 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar

×