SlideShare a Scribd company logo
1 of 20
iPhone Freshers and live Project training
By TOPS Technologies….

1

http://www.tops-int.com/iphone-training.html
How To Make iPhone Apps –– An XCode 5
How To Make iPhone Apps An XCode 5

1. Where Can You Download XCode?
 The easiest way to get XCode is through the Mac App Store Click the
link to go to the listing.
 You can also download it manually if you don’t have the Mac App
Store. Just visit the Apple Developer Page for Xcode.

2

http://www.tops-int.com/iphone-training.html
2. Demystifying The XCode Interface
The diagram below is from the Apple Documentation for Xcode.If your interface
looks different, make sure you have XCode 5 and not an earlier version.
The reason this is a great diagram is because it lets me refer to these different
sections of the interface and you can refer back to this diagram to see what I’m
talking about.
As you can see from the diagram, there are 4 major areas: the Navigator, Editor,
Debug Area and Utility Area.
Keep in mind that you can adjust the size of each of those panes by hovering your
cursor over the boundaries of each area and dragging.

3

http://www.tops-int.com/iphone-training.html
4

http://www.tops-int.com/iphone-training.html


Project Navigator
◦ This is where you’ll see all the files associated with your project.

5

http://www.tops-int.com/iphone-training.html
You can also right click on the project navigator and create new files or add existing
files to your project. Or you can drag folders or files from your computer directly
onto the project navigator and will popup a dialog asking how you want to add the
files.
If you click on a file in the project navigator, it will display the file’s contents in the
Editor area. If you double click a file instead, it will open a new window which can be
useful when you have dual monitors.

Search Navigator
With the search navigator tab, you can easily look for pieces of text in your project.

Issue Navigator
The issue navigator shows you all the problems with your app.

6

http://www.tops-int.com/iphone-training.html


The editor area is where we’ll probably be spending most of our time! This
is where all the coding happens.

7

http://www.tops-int.com/iphone-training.html
There are these little back and forward arrows in the upper left corner of the editor
area. Unfortunately these arrows aren’t labeled in the trusty XCode interface
diagram at the beginning of this article so I’ll call them “XCode back and forward
arrows” and show you an image of them here:

These guys are actually pretty useful. They act like the back and forward buttons
on your browser and they let you navigate to previously viewed files.

Three types of editor views
The editor area has three different views and you can toggle between them with
the set of buttons in the upper right hand corner:
8

http://www.tops-int.com/iphone-training.html
Interface Builder View
So far we’ve been talking about editing code files and writing code, however XCode
has interface builder integrated in and when you’re viewing the Storyboard or a XIB
file, the editor area will turn into a visual designer.

Finding and replacing within the file
Just hit Command-F to bring up a search popup in the upper right corner that will
look for whatever you type in within the current file. This is also a great way to jump
to various areas of your file. You can also use this popup to do replacements within
your file.

Jumping to definitions
If you’re looking at some code and you see a classname that you want to jump to
the definition of, you can hold down Command and click the classname to quickly
jump to that file.

9

http://www.tops-int.com/iphone-training.html


10

The XCode utility area is comprised of two
panes: the inspector pane and the library
pane.

http://www.tops-int.com/iphone-training.html
Inspector pane
The Inspector pane will give you details about the file you’ve got highlighted in your
project navigator. However, when you’re looking at a XIB file, the inspector pane will
show you the different attributes that you can modify for a selected element.

library pane
The library pane won’t be very useful either until you’re looking at a XIB file. When
you’re using the Interface Builder part of XCode, you can drag UI elements from the
library pane onto the editor area to add that element to your user interface.

11

http://www.tops-int.com/iphone-training.html


The debug area will show you console output and the state of various
variables when you run your application.



You’ll be using this a lot while debugging your code and trying to figure out
why things aren’t working out the way you expect them to! I’ll need to write
a separate XCode debugger tutorial because there’s too much to mention
here.

12

http://www.tops-int.com/iphone-training.html


We’ve talked about some of the buttons on this tool bar already. Let’s start
from the left.



The left-most button is the run button. This will build and run your
application and launch your app in the iOS Simulator. The button beside it
will stop the execution of your application and return you to XCode.



If you click and hold down the Run button, you’ll get more options to run
your app.

13

http://www.tops-int.com/iphone-training.html


The Organizer button on the far right of the toolbar brings up a separate
window called the Organizer. There are several different purposes of the
organizer and we’ll highlight them below.

Devices


14

There are a lot of things you can do in the devices tab that I can list them
all. However, the main uses are to manage your provisioning profiles on
your system AND on various devices.

http://www.tops-int.com/iphone-training.html


We haven’t talked about provisioning profiles yet, but they’re important for
deploying your app on actual physical iOS devices. I’ll need to create a separate
tutorial for that.



You can look at crash log from devices, enable development use for various
connected devices and more.

Repositories
This only applies to XCode 4.
In XCode 5, Repositories are now managed in XCode->Preferences>Accounts
In the repositories tab, you’ll be able to manage local and remote repos that you
have set up for your projects.

15

http://www.tops-int.com/iphone-training.html


Projects
In the projects tab, you can see a list of projects you’ve opened before so you
can quickly open them again and you’ll be able to manage derived data and
snapshots of your projects as well.



Archives
In the archives tab, you can manage your archives for various projects. You
would archive your app when you want to deploy it to the store or distribute it in
some other manner.



Documentation
This is only for XCode 4.
In XCode 5, Repositories are now managed in XCode->Preferences>Downloads
You can view various iOS SDK

16

http://www.tops-int.com/iphone-training.html
17

http://www.tops-int.com/iphone-training.html
XCode 5 comes bundled with a wonderful iOS Simulator for you to test your
application on. In fact, you can use the iOS simulator for most of your development
and then find a device to test on when you’re nearly done.
You can actually do a lot with the simulator including:

-Device rotation
-Simulating various GPS coordinates
-Device shake
-Simulating low memory scenarios
If you want to test various network or low bandwidth conditions, there’s a tool called
Charles Proxy that works brilliantly.

18

http://www.tops-int.com/iphone-training.html
Contact Us For iPhone Training
Contact Us For iPhone Training
College Students from Ahmedabad Gujarat BCA, MCA, BE IT, BE/B.Tech,
ME/M.Tech, BSC IT can also join.
Ahmedabad Office (C G Road)
Ahmedabad Office (C.G Road)
903 Samedh Complex,
Next to Associated Petrol Pump,
CG Road,
Ahmadabad 380009.
99747 55006
Ahmedabad Office(Maninagar)
Ahmedabad Office (Maninagar)
401 Amruta Arcade 4th Floor,
Maninagar Char Rasta, Nr Rly Station
Maninagar
99748 63333
19
http://www.tops-int.com/iphone-training.html
20

http://www.tops-int.com/iphone-training.html

More Related Content

More from TOPS Technologies

Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project training
TOPS Technologies
 
08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone
TOPS Technologies
 

More from TOPS Technologies (20)

Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
Learn advanced java programming
Learn advanced java programmingLearn advanced java programming
Learn advanced java programming
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
 
What is ui element in i phone developmetn
What is ui element in i phone developmetnWhat is ui element in i phone developmetn
What is ui element in i phone developmetn
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
 
Java live project training
Java live project trainingJava live project training
Java live project training
 
Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project training
 
Php live project training
Php live project trainingPhp live project training
Php live project training
 
iPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologiesiPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologies
 
Java training in ahmedabad
Java training in ahmedabadJava training in ahmedabad
Java training in ahmedabad
 
08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone
 
GTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesGTU PHP Project Training Guidelines
GTU PHP Project Training Guidelines
 
GTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesGTU Asp.net Project Training Guidelines
GTU Asp.net Project Training Guidelines
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVA
 
GTU Guidelines for Project on Android
GTU Guidelines for Project on AndroidGTU Guidelines for Project on Android
GTU Guidelines for Project on Android
 
GTU MCA PHP Interview Questions And Answers for freshers
GTU MCA PHP  Interview Questions And Answers for freshersGTU MCA PHP  Interview Questions And Answers for freshers
GTU MCA PHP Interview Questions And Answers for freshers
 
Most Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerMost Asked Java Interview Question and Answer
Most Asked Java Interview Question and Answer
 
How to use User Interface (UI) appearance of text and controls in iPhone appl...
How to use User Interface (UI) appearance of text and controls in iPhone appl...How to use User Interface (UI) appearance of text and controls in iPhone appl...
How to use User Interface (UI) appearance of text and controls in iPhone appl...
 
The JAVA Training Workshop in Ahmedabad
The JAVA Training Workshop in AhmedabadThe JAVA Training Workshop in Ahmedabad
The JAVA Training Workshop in Ahmedabad
 
Web Designing Training Syllabus Course
Web Designing Training Syllabus CourseWeb Designing Training Syllabus Course
Web Designing Training Syllabus Course
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

I phone freshers and live project training

  • 1. iPhone Freshers and live Project training By TOPS Technologies…. 1 http://www.tops-int.com/iphone-training.html
  • 2. How To Make iPhone Apps –– An XCode 5 How To Make iPhone Apps An XCode 5 1. Where Can You Download XCode?  The easiest way to get XCode is through the Mac App Store Click the link to go to the listing.  You can also download it manually if you don’t have the Mac App Store. Just visit the Apple Developer Page for Xcode. 2 http://www.tops-int.com/iphone-training.html
  • 3. 2. Demystifying The XCode Interface The diagram below is from the Apple Documentation for Xcode.If your interface looks different, make sure you have XCode 5 and not an earlier version. The reason this is a great diagram is because it lets me refer to these different sections of the interface and you can refer back to this diagram to see what I’m talking about. As you can see from the diagram, there are 4 major areas: the Navigator, Editor, Debug Area and Utility Area. Keep in mind that you can adjust the size of each of those panes by hovering your cursor over the boundaries of each area and dragging. 3 http://www.tops-int.com/iphone-training.html
  • 5.  Project Navigator ◦ This is where you’ll see all the files associated with your project. 5 http://www.tops-int.com/iphone-training.html
  • 6. You can also right click on the project navigator and create new files or add existing files to your project. Or you can drag folders or files from your computer directly onto the project navigator and will popup a dialog asking how you want to add the files. If you click on a file in the project navigator, it will display the file’s contents in the Editor area. If you double click a file instead, it will open a new window which can be useful when you have dual monitors. Search Navigator With the search navigator tab, you can easily look for pieces of text in your project. Issue Navigator The issue navigator shows you all the problems with your app. 6 http://www.tops-int.com/iphone-training.html
  • 7.  The editor area is where we’ll probably be spending most of our time! This is where all the coding happens. 7 http://www.tops-int.com/iphone-training.html
  • 8. There are these little back and forward arrows in the upper left corner of the editor area. Unfortunately these arrows aren’t labeled in the trusty XCode interface diagram at the beginning of this article so I’ll call them “XCode back and forward arrows” and show you an image of them here: These guys are actually pretty useful. They act like the back and forward buttons on your browser and they let you navigate to previously viewed files. Three types of editor views The editor area has three different views and you can toggle between them with the set of buttons in the upper right hand corner: 8 http://www.tops-int.com/iphone-training.html
  • 9. Interface Builder View So far we’ve been talking about editing code files and writing code, however XCode has interface builder integrated in and when you’re viewing the Storyboard or a XIB file, the editor area will turn into a visual designer. Finding and replacing within the file Just hit Command-F to bring up a search popup in the upper right corner that will look for whatever you type in within the current file. This is also a great way to jump to various areas of your file. You can also use this popup to do replacements within your file. Jumping to definitions If you’re looking at some code and you see a classname that you want to jump to the definition of, you can hold down Command and click the classname to quickly jump to that file. 9 http://www.tops-int.com/iphone-training.html
  • 10.  10 The XCode utility area is comprised of two panes: the inspector pane and the library pane. http://www.tops-int.com/iphone-training.html
  • 11. Inspector pane The Inspector pane will give you details about the file you’ve got highlighted in your project navigator. However, when you’re looking at a XIB file, the inspector pane will show you the different attributes that you can modify for a selected element. library pane The library pane won’t be very useful either until you’re looking at a XIB file. When you’re using the Interface Builder part of XCode, you can drag UI elements from the library pane onto the editor area to add that element to your user interface. 11 http://www.tops-int.com/iphone-training.html
  • 12.  The debug area will show you console output and the state of various variables when you run your application.  You’ll be using this a lot while debugging your code and trying to figure out why things aren’t working out the way you expect them to! I’ll need to write a separate XCode debugger tutorial because there’s too much to mention here. 12 http://www.tops-int.com/iphone-training.html
  • 13.  We’ve talked about some of the buttons on this tool bar already. Let’s start from the left.  The left-most button is the run button. This will build and run your application and launch your app in the iOS Simulator. The button beside it will stop the execution of your application and return you to XCode.  If you click and hold down the Run button, you’ll get more options to run your app. 13 http://www.tops-int.com/iphone-training.html
  • 14.  The Organizer button on the far right of the toolbar brings up a separate window called the Organizer. There are several different purposes of the organizer and we’ll highlight them below. Devices  14 There are a lot of things you can do in the devices tab that I can list them all. However, the main uses are to manage your provisioning profiles on your system AND on various devices. http://www.tops-int.com/iphone-training.html
  • 15.  We haven’t talked about provisioning profiles yet, but they’re important for deploying your app on actual physical iOS devices. I’ll need to create a separate tutorial for that.  You can look at crash log from devices, enable development use for various connected devices and more. Repositories This only applies to XCode 4. In XCode 5, Repositories are now managed in XCode->Preferences>Accounts In the repositories tab, you’ll be able to manage local and remote repos that you have set up for your projects. 15 http://www.tops-int.com/iphone-training.html
  • 16.  Projects In the projects tab, you can see a list of projects you’ve opened before so you can quickly open them again and you’ll be able to manage derived data and snapshots of your projects as well.  Archives In the archives tab, you can manage your archives for various projects. You would archive your app when you want to deploy it to the store or distribute it in some other manner.  Documentation This is only for XCode 4. In XCode 5, Repositories are now managed in XCode->Preferences>Downloads You can view various iOS SDK 16 http://www.tops-int.com/iphone-training.html
  • 18. XCode 5 comes bundled with a wonderful iOS Simulator for you to test your application on. In fact, you can use the iOS simulator for most of your development and then find a device to test on when you’re nearly done. You can actually do a lot with the simulator including: -Device rotation -Simulating various GPS coordinates -Device shake -Simulating low memory scenarios If you want to test various network or low bandwidth conditions, there’s a tool called Charles Proxy that works brilliantly. 18 http://www.tops-int.com/iphone-training.html
  • 19. Contact Us For iPhone Training Contact Us For iPhone Training College Students from Ahmedabad Gujarat BCA, MCA, BE IT, BE/B.Tech, ME/M.Tech, BSC IT can also join. Ahmedabad Office (C G Road) Ahmedabad Office (C.G Road) 903 Samedh Complex, Next to Associated Petrol Pump, CG Road, Ahmadabad 380009. 99747 55006 Ahmedabad Office(Maninagar) Ahmedabad Office (Maninagar) 401 Amruta Arcade 4th Floor, Maninagar Char Rasta, Nr Rly Station Maninagar 99748 63333 19 http://www.tops-int.com/iphone-training.html