SlideShare a Scribd company logo
1 of 18
Download to read offline
Using Xcode




1    iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
Setting Up Your Project in Xcode




2               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 developer.apple.com.




3                    iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
project template selection sheet




4               iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
project options sheet




5         iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
The Xcode Workspace Window




6            iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
The Xcode Workspace Window
•   The Toolbar
•   The Navigator View
•   The Jump Bar
•   The Utility Pane
•   Interface Builder
•   New Compiler and Debugger



7                 iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
8   iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
DemoWindow
    The Xcode Workspace




9         iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
Introducing Xcode’s Interface Builder




10                 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.
          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
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
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 library

13                      iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar
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
Demo View
     Adding a Label to the




15         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 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
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
Demo app
     Adding icon to the




18       iabdulrazzaq@outlook.com   Eng. Abdulrazzaq Alnajjar

More Related Content

What's hot

A Separation of Concerns: Clean Architecture on Android
A Separation of Concerns: Clean Architecture on AndroidA Separation of Concerns: Clean Architecture on Android
A Separation of Concerns: Clean Architecture on Android
Outware Mobile
 

What's hot (20)

apidays LIVE LONDON - Exploring an API with Blocks by Larry Kluger
apidays LIVE LONDON - Exploring an API with Blocks by Larry Klugerapidays LIVE LONDON - Exploring an API with Blocks by Larry Kluger
apidays LIVE LONDON - Exploring an API with Blocks by Larry Kluger
 
[CocoaHeads Tricity] Andrzej Dąbrowski - Dependency injection and testable ar...
[CocoaHeads Tricity] Andrzej Dąbrowski - Dependency injection and testable ar...[CocoaHeads Tricity] Andrzej Dąbrowski - Dependency injection and testable ar...
[CocoaHeads Tricity] Andrzej Dąbrowski - Dependency injection and testable ar...
 
Valentine with Angular js - Introduction
Valentine with Angular js - IntroductionValentine with Angular js - Introduction
Valentine with Angular js - Introduction
 
Introduction to React Native & Rendering Charts / Graphs
Introduction to React Native & Rendering Charts / GraphsIntroduction to React Native & Rendering Charts / Graphs
Introduction to React Native & Rendering Charts / Graphs
 
React Native for ReactJS Devs
React Native for ReactJS DevsReact Native for ReactJS Devs
React Native for ReactJS Devs
 
Calabash my understanding
Calabash my understandingCalabash my understanding
Calabash my understanding
 
Calabash for iPhone apps
Calabash for iPhone appsCalabash for iPhone apps
Calabash for iPhone apps
 
O365Con18 - Implementing Automated UI Testing for SharePoint Solutions - Elio...
O365Con18 - Implementing Automated UI Testing for SharePoint Solutions - Elio...O365Con18 - Implementing Automated UI Testing for SharePoint Solutions - Elio...
O365Con18 - Implementing Automated UI Testing for SharePoint Solutions - Elio...
 
How native is React Native? | React Native vs Native App Development
How native is React Native? | React Native vs Native App DevelopmentHow native is React Native? | React Native vs Native App Development
How native is React Native? | React Native vs Native App Development
 
A Separation of Concerns: Clean Architecture on Android
A Separation of Concerns: Clean Architecture on AndroidA Separation of Concerns: Clean Architecture on Android
A Separation of Concerns: Clean Architecture on Android
 
How to create an angular 2.0 application in liferay dxp to fetch the ootb adv...
How to create an angular 2.0 application in liferay dxp to fetch the ootb adv...How to create an angular 2.0 application in liferay dxp to fetch the ootb adv...
How to create an angular 2.0 application in liferay dxp to fetch the ootb adv...
 
Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React Native
 
Experiences building apps with React Native @UtrechtJS May 2016
Experiences building apps with React Native @UtrechtJS May 2016Experiences building apps with React Native @UtrechtJS May 2016
Experiences building apps with React Native @UtrechtJS May 2016
 
React Native - Getting Started
React Native - Getting StartedReact Native - Getting Started
React Native - Getting Started
 
An iOS Developer's Perspective on React Native
An iOS Developer's Perspective on React NativeAn iOS Developer's Perspective on React Native
An iOS Developer's Perspective on React Native
 
React Native - Unleash the power of React in your device - Eduard Tomàs - Cod...
React Native - Unleash the power of React in your device - Eduard Tomàs - Cod...React Native - Unleash the power of React in your device - Eduard Tomàs - Cod...
React Native - Unleash the power of React in your device - Eduard Tomàs - Cod...
 
Optimizing React Native views for pre-animation
Optimizing React Native views for pre-animationOptimizing React Native views for pre-animation
Optimizing React Native views for pre-animation
 
Enhance existing REST APIs (e.g. Facebook Graph API) with code completion us...
Enhance existing REST APIs  (e.g. Facebook Graph API) with code completion us...Enhance existing REST APIs  (e.g. Facebook Graph API) with code completion us...
Enhance existing REST APIs (e.g. Facebook Graph API) with code completion us...
 
Hackjam React London
Hackjam React LondonHackjam React London
Hackjam React London
 
Introducing Clean Architecture
Introducing Clean ArchitectureIntroducing Clean Architecture
Introducing Clean Architecture
 

Similar to Beginning iOS6 Development CH02 Using Xcode

iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1
Shyamala Prayaga
 
Introduction to xcode
Introduction to xcodeIntroduction to xcode
Introduction to xcode
Sunny Shaikh
 
Make Mobile Apps Quickly
Make Mobile Apps QuicklyMake Mobile Apps Quickly
Make Mobile Apps Quickly
Gil Irizarry
 

Similar to Beginning iOS6 Development CH02 Using Xcode (20)

Beginning iOS6 Development CH03 Handlling Basic Interaction
Beginning iOS6 Development CH03 Handlling Basic InteractionBeginning iOS6 Development CH03 Handlling Basic Interaction
Beginning iOS6 Development CH03 Handlling Basic Interaction
 
iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1
 
Introduction to xcode
Introduction to xcodeIntroduction to xcode
Introduction to xcode
 
The Developers World
The Developers WorldThe Developers World
The Developers World
 
Project anatomy & hello world
Project anatomy & hello worldProject anatomy & hello world
Project anatomy & hello world
 
Samsung Indonesia: Tizen Native App
Samsung Indonesia: Tizen Native AppSamsung Indonesia: Tizen Native App
Samsung Indonesia: Tizen Native App
 
11 Top Prerequisite Tools for React Native Development.pdf
11 Top Prerequisite Tools for React Native Development.pdf11 Top Prerequisite Tools for React Native Development.pdf
11 Top Prerequisite Tools for React Native Development.pdf
 
Top React Native Developer Tools and Component Libraries (For Easy and Speedy...
Top React Native Developer Tools and Component Libraries (For Easy and Speedy...Top React Native Developer Tools and Component Libraries (For Easy and Speedy...
Top React Native Developer Tools and Component Libraries (For Easy and Speedy...
 
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
 
outgoing again
outgoing againoutgoing again
outgoing again
 
Ios-training-institute-in-mumbai
Ios-training-institute-in-mumbaiIos-training-institute-in-mumbai
Ios-training-institute-in-mumbai
 
Ios-training-institute-in-mumbai
Ios-training-institute-in-mumbaiIos-training-institute-in-mumbai
Ios-training-institute-in-mumbai
 
Top 7 react developer tools to use in 2021
Top 7 react developer tools to use in 2021Top 7 react developer tools to use in 2021
Top 7 react developer tools to use in 2021
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
 
An Ultimate Guide to Java
An Ultimate Guide to Java An Ultimate Guide to Java
An Ultimate Guide to Java
 
Introduction to Android- A session by Sagar Das
Introduction to Android-  A session by Sagar DasIntroduction to Android-  A session by Sagar Das
Introduction to Android- A session by Sagar Das
 
Tizen Native Application Development with C/C++
Tizen Native Application Development with C/C++Tizen Native Application Development with C/C++
Tizen Native Application Development with C/C++
 
Top 5 react developer tools in 2021
 Top 5 react developer tools in 2021 Top 5 react developer tools in 2021
Top 5 react developer tools in 2021
 
JavaFX - Sketch Board to Production
JavaFX - Sketch Board to ProductionJavaFX - Sketch Board to Production
JavaFX - Sketch Board to Production
 
Make Mobile Apps Quickly
Make Mobile Apps QuicklyMake Mobile Apps Quickly
Make Mobile Apps Quickly
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

Beginning iOS6 Development CH02 Using Xcode

  • 1. Using Xcode 1 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 2. Setting Up Your Project in Xcode 2 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 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. project template selection sheet 4 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 5. project options sheet 5 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 6. The Xcode Workspace Window 6 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 7. The Xcode Workspace Window • The Toolbar • The Navigator View • The Jump Bar • The Utility Pane • Interface Builder • New Compiler and Debugger 7 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 8. 8 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 9. DemoWindow The Xcode Workspace 9 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 10. Introducing Xcode’s Interface Builder 10 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 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. 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. 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 library 13 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 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. Demo View Adding a Label to the 15 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar
  • 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. 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. Demo app Adding icon to the 18 iabdulrazzaq@outlook.com Eng. Abdulrazzaq Alnajjar