SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Introduction to iPhone developmentIntroduction to iPhone development
and Xcodeand Xcode
http://www.nichetechsolutions.com/http://www.nichetechsolutions.com/
http://www.nichetechinstitute.com/http://www.nichetechinstitute.com/
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Introduction to iPhone development
and Xcode
 iPhone OS consists of a number of different software layers .
 Each of which provides programming frameworks for the
development of applications that run on top of the operating system
 These operating system layers can be presented diagrammatically
as illustrated in the following figure:
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Overview of the iOS ArchitectureOverview of the iOS Architecture
 As previously mentioned, iOS consists of a number of different
software layers, each of which provides programming frameworks for
the development of applications that run on top of the underlying
hardware.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
OSX Kernel
power management
Mach 3.0
Keychain Access
BSD
Certificates
socket
File System
Security
Bonjour
Core OS
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Core Services
Collections
AddressBook
Networking File
Access SQLite
Core Location
NetServicesPrepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Media
Core Audio
OpenAL
Audio Mixing
Audio Recording
Video Playback
JPEG,
PNG,
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Cocoa Touch
Multi-Touch
Core Motion
View Hierarchy Localization
Controls
Alerts
Web ViewPrepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Platform Components
 Tools ---- XCODE
 Language– Objective C/C++
 Framework ---Cocoa touch Layer
 Design Strategy --- MVC
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Cocoa touch LayerCocoa touch Layer
 The Cocoa Touch layer provides the following frameworks for
iphone and iPad app development:
1) UIKit Framework (UIKit.framework)
2) Map Kit Framework (MapKit.framework)
3) Message UI Framework (MessageUI.framework)
4) Address Book UI Framework (AddressUI.framework)
5) Game Kit Framework (GameKit.framework)
6) iAd Framework (iAd.framework)
7) Event Kit UI Framework
8) Accounts Framework (Accounts.framework)
Twitter Framework (Twitter.framework)
 Note:- details of all framework show developer.apple/documentation sites
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
The iOS Core Services LayerThe iOS Core Services Layer
 He iOS Core Services layer provides much of the foundation on
which the previously referenced layers are built and consists of
the following frameworks.
1)Core Video Framework (CoreVideo.framework)
2)Core Text Framework (CoreText.framework)
3)Image I/O Framework (ImageIO.framework)
4)Assets Library Framework (AssetsLibrary.framework)
5)Core Graphics Framework (CoreGraphics.framework)
6)Core Image Framework (CoreImage.framework)
7)Quartz Core Framework (QuartzCore.framework)
8)OpenGL ES framework (OpenGLES.framework)
9)GLKit Framework (GLKit.framework)
10)NewsstandKit Framework (NewsstandKit.framework)
11)address Book Framework (AddressBook.framework)
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Introduction XcodeIntroduction Xcode
 Xcode is the complete toolset for building OS X and iOS
applications.
 The Xcode IDE understands your project’s every detail, identifies
mistakes in both syntax and logic, and will even fix your code for
you. Quite simply help you write better code.
 Xcode has a brand new user interface, built upon proven
technologies that Apple itself uses to build OS X and iOS, and
that have produced over a quarter million OS X and iOS apps.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Xcode Screen ImageXcode Screen Image
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Single Window
 As an experienced Xcode user, the first thing you will notice about
Xcode is that the many windows used to perform the development
tasks you work on every day have been consolidated into a single
window.
 The Xcode work area has several unique UI elements that make it
easy to work on many different tasks, even multiple projects,
without cluttering your work area. Your editor is always front
and center.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Navigators
 On the left side is a collection of navigators, including
the list of files in your project, sorted symbols, a central
search interface, issue tracking, debugging data with
compressible stack traces, active and inactive
breakpoints, and a persistent collection of logs.
 The unified navigator UI provides live filtering of content
and search results, so you can focus on your
current task.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Jump Bar
• At the top of every editor pane is a path bar showing the relative
location of your current file.
• Click any location in the path to immediately jump to any other file
at that level.
• This is the Jump Bar, and it is so efficient you may wish to dedicate
your entire desktop to source code, quickly jumping from file to file.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Interface Builder is Built-in
• In Xcode 4, Interface Builder has been completely integrated within
the Xcode IDE –– there is no separate application.
• Selecting an interface file (.nib/.xib/.storyboard) in your project will
open the IB editor within Xcode.
• Opening the right-hand Utility area will show the full complement of
interface inspectors, as well as the library of controls and UI objects.
• Drag a control from the library, and drop onto the canvas, to layout
your OS X or iOS app.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
.XIB
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Apple LLVM Compiler
• Apple LLVM is the next-generation compiler technology powering
Xcode .
• Based on the vibrant open source LLVM.org project led by Apple
engineers, the Apple LLVM compiler is modern thinking, tuned for
iPhone, iPad, and the multi-core Mac.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Fix-it and Live IssuesFix-it and Live Issues
• The Apple LLVM engine is constantly working in the background
to understand your code.
• In the editor, the new Live Issues feature uses that
understanding to alert you to coding mistakes as you type.
• Just like a word processor highlights spelling errors, Xcode 4
highlights common coding mistakes, without the need to click
‘build’ first.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Fix the problem automaticallyFix the problem automatically
Beyond just reporting errors, the IDE is intelligent enough to fix the
problem for you.
In many cases Xcode will not only report an error, it will present a
solution as well.
Click the error to see the available Fix-its, such as correcting an
assignment to a comparison, repairing a misspelled symbol, or
appending a missing semicolon. A single keyboard shortcut will
instantly have the error repaired, and let you continue coding.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
iOS Simulator
• The iOS Simulator runs your application in much the same way as
an actual iOS device.
• Because it is quick to launch and debug, the iOS Simulator makes
for a perfect test bed to make sure your user interface works the
way you intend, your network calls are correct, and that the views
change correctly when the phone rotates.
• You can even simulate touch gestures by using the mouse.
• The iOS Simulator is a great time saver.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Storyboards Help You Design Your UserStoryboards Help You Design Your User
InterfaceInterface
When you implement your app using storyboards, you use
Interface Builder to organize your app’s view controllers and any
associated views.
 The visual layout of Interface Builder allows you to understand the
flow through your app at a glance.
 You can see what view controllers are instantiated by your app and
their order of instantiation.
 But more than that, you can configure complex collections of views
and other objects in the storyboard
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Prepared
By,NicheTech, ( C )
NicheTech
Com.Sol.Pvt.Ltd.
 A scene represents an onscreen content area that is managed by
a view controller. You can think of a scene as a view controller and
its associated view hierarchy.
 You create relationships between scenes in the same storyboard.
Relationships are expressed visually in a storyboard as a
connection arrow from one scene to another. Interface Builder
usually infers the details of a new relationship automatically when
you make a connection between two objects.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Different kinds of segues provide theDifferent kinds of segues provide the
common transitions needed between twocommon transitions needed between two
different view controllers:different view controllers:
 A push segue pushes the destination view controller onto a
navigation controller’s stack.
 A modal segue presents the destination view controller.
 A popover segue displays the destination view controller in a
popover.
 A custom segue allows you to design your own transition to display
the destination view controller.
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.
Thank you
http://www.nichetechsolutions.com/
Prepared By,NicheTech, ( C )
NicheTech Com.Sol.Pvt.Ltd.

Weitere ähnliche Inhalte

Andere mochten auch

Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)vetri pandi
 
Green screen ppt and verry small sketchbook prompt
Green screen ppt and verry small sketchbook promptGreen screen ppt and verry small sketchbook prompt
Green screen ppt and verry small sketchbook promptMartha Anne Kuntz
 
Google Presentation
Google PresentationGoogle Presentation
Google Presentationguesta599e2
 
Final ppt of project
Final ppt of projectFinal ppt of project
Final ppt of projectRuchi Gulati
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project PresentationSyed Absar
 
Sample project-synopsis
Sample project-synopsisSample project-synopsis
Sample project-synopsisSheshank Priya
 
Presentation on project report
Presentation on project reportPresentation on project report
Presentation on project reportramesh_x
 
Top Rumors About Apple March 21 Big Event
Top Rumors About Apple March 21 Big EventTop Rumors About Apple March 21 Big Event
Top Rumors About Apple March 21 Big EventChromeInfo Technologies
 

Andere mochten auch (12)

Gwt Presentation
Gwt PresentationGwt Presentation
Gwt Presentation
 
Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)Hybrid Application Development documentation report (MCA Project)
Hybrid Application Development documentation report (MCA Project)
 
Green screen ppt and verry small sketchbook prompt
Green screen ppt and verry small sketchbook promptGreen screen ppt and verry small sketchbook prompt
Green screen ppt and verry small sketchbook prompt
 
Intro to ionic 2
Intro to ionic 2Intro to ionic 2
Intro to ionic 2
 
Google Presentation
Google PresentationGoogle Presentation
Google Presentation
 
SYNOPSIS WRITING
SYNOPSIS WRITINGSYNOPSIS WRITING
SYNOPSIS WRITING
 
Final ppt of project
Final ppt of projectFinal ppt of project
Final ppt of project
 
Format Of Synopsis
Format Of SynopsisFormat Of Synopsis
Format Of Synopsis
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
 
Sample project-synopsis
Sample project-synopsisSample project-synopsis
Sample project-synopsis
 
Presentation on project report
Presentation on project reportPresentation on project report
Presentation on project report
 
Top Rumors About Apple March 21 Big Event
Top Rumors About Apple March 21 Big EventTop Rumors About Apple March 21 Big Event
Top Rumors About Apple March 21 Big Event
 

Mehr von NicheTech Com. Solutions Pvt. Ltd.

Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes AhmedabadJava Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes AhmedabadNicheTech Com. Solutions Pvt. Ltd.
 
Java Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web developmentJava Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web developmentNicheTech Com. Solutions Pvt. Ltd.
 
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architectureAndroid Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architectureNicheTech Com. Solutions Pvt. Ltd.
 
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad NicheTech Com. Solutions Pvt. Ltd.
 
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...NicheTech Com. Solutions Pvt. Ltd.
 
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course AhmedabadIntroduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course AhmedabadNicheTech Com. Solutions Pvt. Ltd.
 
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...NicheTech Com. Solutions Pvt. Ltd.
 
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...NicheTech Com. Solutions Pvt. Ltd.
 
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...NicheTech Com. Solutions Pvt. Ltd.
 

Mehr von NicheTech Com. Solutions Pvt. Ltd. (11)

Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes AhmedabadJava Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
 
Java Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web developmentJava Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web development
 
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architectureAndroid Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
 
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
 
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
 
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course AhmedabadIntroduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
 
Basic Android
Basic AndroidBasic Android
Basic Android
 
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
 
Introduction of Mastert page
Introduction of Mastert pageIntroduction of Mastert page
Introduction of Mastert page
 
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
 
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
 

Kürzlich hochgeladen

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
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.pdfAdmir Softic
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
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 functionsKarakKing
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
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 17Celine George
 
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 POSCeline George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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 FellowsMebane Rash
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 

Kürzlich hochgeladen (20)

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
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
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

introduction of ios development , iOS Classes Ahmedabad , iOS Live Project Training Ahmedabad, mca project training ahmedabad

  • 1. Introduction to iPhone developmentIntroduction to iPhone development and Xcodeand Xcode http://www.nichetechsolutions.com/http://www.nichetechsolutions.com/ http://www.nichetechinstitute.com/http://www.nichetechinstitute.com/ Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 2. Introduction to iPhone development and Xcode  iPhone OS consists of a number of different software layers .  Each of which provides programming frameworks for the development of applications that run on top of the operating system  These operating system layers can be presented diagrammatically as illustrated in the following figure: Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 3. Overview of the iOS ArchitectureOverview of the iOS Architecture  As previously mentioned, iOS consists of a number of different software layers, each of which provides programming frameworks for the development of applications that run on top of the underlying hardware. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 4. OSX Kernel power management Mach 3.0 Keychain Access BSD Certificates socket File System Security Bonjour Core OS Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 5. Core Services Collections AddressBook Networking File Access SQLite Core Location NetServicesPrepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 6. Media Core Audio OpenAL Audio Mixing Audio Recording Video Playback JPEG, PNG, Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 7. Cocoa Touch Multi-Touch Core Motion View Hierarchy Localization Controls Alerts Web ViewPrepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 8. Platform Components  Tools ---- XCODE  Language– Objective C/C++  Framework ---Cocoa touch Layer  Design Strategy --- MVC Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 9. Cocoa touch LayerCocoa touch Layer  The Cocoa Touch layer provides the following frameworks for iphone and iPad app development: 1) UIKit Framework (UIKit.framework) 2) Map Kit Framework (MapKit.framework) 3) Message UI Framework (MessageUI.framework) 4) Address Book UI Framework (AddressUI.framework) 5) Game Kit Framework (GameKit.framework) 6) iAd Framework (iAd.framework) 7) Event Kit UI Framework 8) Accounts Framework (Accounts.framework) Twitter Framework (Twitter.framework)  Note:- details of all framework show developer.apple/documentation sites Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 10. The iOS Core Services LayerThe iOS Core Services Layer  He iOS Core Services layer provides much of the foundation on which the previously referenced layers are built and consists of the following frameworks. 1)Core Video Framework (CoreVideo.framework) 2)Core Text Framework (CoreText.framework) 3)Image I/O Framework (ImageIO.framework) 4)Assets Library Framework (AssetsLibrary.framework) 5)Core Graphics Framework (CoreGraphics.framework) 6)Core Image Framework (CoreImage.framework) 7)Quartz Core Framework (QuartzCore.framework) 8)OpenGL ES framework (OpenGLES.framework) 9)GLKit Framework (GLKit.framework) 10)NewsstandKit Framework (NewsstandKit.framework) 11)address Book Framework (AddressBook.framework) Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 11. Introduction XcodeIntroduction Xcode  Xcode is the complete toolset for building OS X and iOS applications.  The Xcode IDE understands your project’s every detail, identifies mistakes in both syntax and logic, and will even fix your code for you. Quite simply help you write better code.  Xcode has a brand new user interface, built upon proven technologies that Apple itself uses to build OS X and iOS, and that have produced over a quarter million OS X and iOS apps. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 12. Xcode Screen ImageXcode Screen Image Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 13. Single Window  As an experienced Xcode user, the first thing you will notice about Xcode is that the many windows used to perform the development tasks you work on every day have been consolidated into a single window.  The Xcode work area has several unique UI elements that make it easy to work on many different tasks, even multiple projects, without cluttering your work area. Your editor is always front and center. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 14. Navigators  On the left side is a collection of navigators, including the list of files in your project, sorted symbols, a central search interface, issue tracking, debugging data with compressible stack traces, active and inactive breakpoints, and a persistent collection of logs.  The unified navigator UI provides live filtering of content and search results, so you can focus on your current task. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 15. Jump Bar • At the top of every editor pane is a path bar showing the relative location of your current file. • Click any location in the path to immediately jump to any other file at that level. • This is the Jump Bar, and it is so efficient you may wish to dedicate your entire desktop to source code, quickly jumping from file to file. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 16. Interface Builder is Built-in • In Xcode 4, Interface Builder has been completely integrated within the Xcode IDE –– there is no separate application. • Selecting an interface file (.nib/.xib/.storyboard) in your project will open the IB editor within Xcode. • Opening the right-hand Utility area will show the full complement of interface inspectors, as well as the library of controls and UI objects. • Drag a control from the library, and drop onto the canvas, to layout your OS X or iOS app. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 17. .XIB Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 18. Apple LLVM Compiler • Apple LLVM is the next-generation compiler technology powering Xcode . • Based on the vibrant open source LLVM.org project led by Apple engineers, the Apple LLVM compiler is modern thinking, tuned for iPhone, iPad, and the multi-core Mac. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 19. Fix-it and Live IssuesFix-it and Live Issues • The Apple LLVM engine is constantly working in the background to understand your code. • In the editor, the new Live Issues feature uses that understanding to alert you to coding mistakes as you type. • Just like a word processor highlights spelling errors, Xcode 4 highlights common coding mistakes, without the need to click ‘build’ first. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 20. Fix the problem automaticallyFix the problem automatically Beyond just reporting errors, the IDE is intelligent enough to fix the problem for you. In many cases Xcode will not only report an error, it will present a solution as well. Click the error to see the available Fix-its, such as correcting an assignment to a comparison, repairing a misspelled symbol, or appending a missing semicolon. A single keyboard shortcut will instantly have the error repaired, and let you continue coding. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 21. iOS Simulator • The iOS Simulator runs your application in much the same way as an actual iOS device. • Because it is quick to launch and debug, the iOS Simulator makes for a perfect test bed to make sure your user interface works the way you intend, your network calls are correct, and that the views change correctly when the phone rotates. • You can even simulate touch gestures by using the mouse. • The iOS Simulator is a great time saver. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 22. Storyboards Help You Design Your UserStoryboards Help You Design Your User InterfaceInterface When you implement your app using storyboards, you use Interface Builder to organize your app’s view controllers and any associated views.  The visual layout of Interface Builder allows you to understand the flow through your app at a glance.  You can see what view controllers are instantiated by your app and their order of instantiation.  But more than that, you can configure complex collections of views and other objects in the storyboard Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 23. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 24.  A scene represents an onscreen content area that is managed by a view controller. You can think of a scene as a view controller and its associated view hierarchy.  You create relationships between scenes in the same storyboard. Relationships are expressed visually in a storyboard as a connection arrow from one scene to another. Interface Builder usually infers the details of a new relationship automatically when you make a connection between two objects. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.
  • 25. Different kinds of segues provide theDifferent kinds of segues provide the common transitions needed between twocommon transitions needed between two different view controllers:different view controllers:  A push segue pushes the destination view controller onto a navigation controller’s stack.  A modal segue presents the destination view controller.  A popover segue displays the destination view controller in a popover.  A custom segue allows you to design your own transition to display the destination view controller. Prepared By,NicheTech, ( C ) NicheTech Com.Sol.Pvt.Ltd.