SlideShare ist ein Scribd-Unternehmen logo
1 von 10
1/82
2/82
Developing Apps for IOS
3/82
The Basics
What is an app?
App is simply short for application. It is computer software
written for a specific user task.
What is IOS?
Originally iPhone Operating System, IOS is a mobile operating
system developed and distributed by Apple. It was released in
2007 for the iPhone and the iPod Touch. It was later extended
for the iPad and Apple TV.
Over 40% of smart phone subscribers use an Apple phone.
Current market share for smart phones:
4/82
The Basics
Americans used smartphone and tablet apps more than PCs to
access the Internet in January, 2014 -- the first time that has ever
happened.
Mobile devices accounted for 55% of Internet usage in the United
States in January. Apps made up 47% of Internet traffic and 8% of
traffic came from mobile browsers. PCs clocked in at 45%.
5/82
The Basics
What is Objective-C?
It is a high-level, object-oriented programming language. It is the main
language used for IOS and OS X application development.
What is Swift?
It is a multi-paradigm, compiled programming language developed by
Apple for iOS and OS X development. Introduced in 2014, Swift is
designed to work with Apple's Cocoa and Cocoa Touch frameworks
and the large body of existing Objective-C code written for Apple
products.
Swift is intended to be more resilient against erroneous code. It is
built with the LLVM compiler included in Xcode 6 beta, and uses the
Objective-C runtime, allowing Objective-C, Objective-C++ and
Swift code to run within a single program.
6/82
The Basics
 What is Cocoa Touch?
It is the user interface (UI) framework for building IOS applications. It is based on
Cocoa, which is the application programming interface (API) for the Mac operating
system.
 What is Xcode?
It is an integrated development environment (IDE) containing a suite of software
development tools developed by Apple for developing software for OS X and iOS.
First released in 2003, the latest stable release is version 5.1 and is available via the
Mac App Store free of charge for Mac OS X Lion, OS X Mountain Lion and OS X
Mavericks users.
Registered developers can download preview releases and previous versions of the
suite through the Apple Developer website. Apple recently made a beta version of
version 6.x of the software available to those of the public with Apple Developer
accounts.
8/82
Developing Mobile Apps
More differences between developing mobile apps and
standard software
IOS apps can read and write files in an area called a sandbox.
There is limited access to the rest of the device.
Programs need to open quickly and close down quickly. For
example, If your app takes more than 5 seconds to give up
control when the user hits the home button, the app may be
killed.
Conserving memory is important in writing apps. A device
(i.e., iPhone 4s, iPad 2) may have 512MB of RAM, but much of
that is used for the screen and by other system processes.
9/82
Developing Mobile Apps
IOS devices have features that many Macs do not have:
Determining geographic coordinates
Built-in camera
Built-in accelerometer
To develop apps for IOS, you will need:
A Macintosh computer
Xcode software
To register as an Apple Developer
10/82
Creating a simple “Hello World” app
1. Create a New Xcode Project
2. Choose IOS Application, Single View Application -> Next
3. Enter Hello World for the Product Name
4. Choose a location and then Create
5. Click on Main.Storyboard, the top of the View Controller, then Attributes (at the right). Change Size to
iPhone 4-inch and Orientation as Portrait
6. From the Object Library at the bottom right, choose and drag both a label and a button to your View
Controller
7. Close the Utilities window and click on the Assistant Editor
Control-Drag the label to right below the line that starts Class View…
Enter theLabel as its name
Modify the line of code if needed so that it says:
@IBOutlet var theLabel: UILabel?
(Note the question mark at the end.)
1. Control-Drag the button to below your outlet. When the popup occurs, choose Action as the Connection type
and give it a Name of theButton
2. In the function that was created, add this line between the braces:
theLabel?.hidden = true
1. Run your program using the simulator
11/82
ThankThank You !!!You !!!
For More Information click below link:
Follow Us on:
http://vibranttechnologies.co.in/ios-classes-in-mumbai.html

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Layer architecture of ios (1)
Layer architecture of ios (1)Layer architecture of ios (1)
Layer architecture of ios (1)
 
Android vs iOS security
Android vs iOS securityAndroid vs iOS security
Android vs iOS security
 
iPhone Development Overview
iPhone Development OverviewiPhone Development Overview
iPhone Development Overview
 
iOS vs. Android — In Numbers and Style
iOS vs. Android — In Numbers and StyleiOS vs. Android — In Numbers and Style
iOS vs. Android — In Numbers and Style
 
Programing for the iPhone
Programing for the iPhonePrograming for the iPhone
Programing for the iPhone
 
IOS vs Android presentation by Saikrishna
IOS vs Android presentation by SaikrishnaIOS vs Android presentation by Saikrishna
IOS vs Android presentation by Saikrishna
 
ios vs android.ppt
ios vs android.pptios vs android.ppt
ios vs android.ppt
 
Apple's ios
Apple's iosApple's ios
Apple's ios
 
Android vs. IOS: Comparing features & functions
Android vs. IOS: Comparing features & functionsAndroid vs. IOS: Comparing features & functions
Android vs. IOS: Comparing features & functions
 
iPhone application development in India
iPhone application development in IndiaiPhone application development in India
iPhone application development in India
 
MSR iOS Tranining
MSR iOS TraniningMSR iOS Tranining
MSR iOS Tranining
 
Which mobile os should you choose while building
Which mobile os should you choose while buildingWhich mobile os should you choose while building
Which mobile os should you choose while building
 
Andriod vs iOS
Andriod vs iOSAndriod vs iOS
Andriod vs iOS
 
What To Choose Between - Native App And Hybrid Mobile App
What To Choose Between - Native App And Hybrid Mobile AppWhat To Choose Between - Native App And Hybrid Mobile App
What To Choose Between - Native App And Hybrid Mobile App
 
iOS Developer Concept introduction
iOS Developer Concept introductioniOS Developer Concept introduction
iOS Developer Concept introduction
 
The Android vs. Apple iOS Security Showdown
The Android vs. Apple iOS Security Showdown The Android vs. Apple iOS Security Showdown
The Android vs. Apple iOS Security Showdown
 
iCloud
iCloudiCloud
iCloud
 
ComparingTwo major mobile operating system
ComparingTwo major mobile operating systemComparingTwo major mobile operating system
ComparingTwo major mobile operating system
 
Andriod vs iphone
Andriod vs iphoneAndriod vs iphone
Andriod vs iphone
 
How & where to start iOS development?
How & where to start iOS development?How & where to start iOS development?
How & where to start iOS development?
 

Ähnlich wie Ios - Introduction to swift programming

iOS & Android Application Development - Pee Dee User Group Meeting
iOS & Android Application Development - Pee Dee User Group MeetingiOS & Android Application Development - Pee Dee User Group Meeting
iOS & Android Application Development - Pee Dee User Group Meeting
Jim Tochterman
 

Ähnlich wie Ios - Introduction to swift programming (20)

AN INTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
AN INTRODUCTION TO MOBILE APPLICATION DEVELOPMENTAN INTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
AN INTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
 
INTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
INTRODUCTION TO MOBILE APPLICATION DEVELOPMENTINTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
INTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
 
20220728-iOSAppDev-MobileAppDev.pptx
20220728-iOSAppDev-MobileAppDev.pptx20220728-iOSAppDev-MobileAppDev.pptx
20220728-iOSAppDev-MobileAppDev.pptx
 
iOS app development Technologies, benefits, and use cases.pdf
iOS app development Technologies, benefits, and use cases.pdfiOS app development Technologies, benefits, and use cases.pdf
iOS app development Technologies, benefits, and use cases.pdf
 
iOS Application Development Step by Step to develop an iOS App.pdf
iOS Application Development Step by Step to develop an iOS App.pdfiOS Application Development Step by Step to develop an iOS App.pdf
iOS Application Development Step by Step to develop an iOS App.pdf
 
Step-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdfStep-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdf
 
Step-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docxStep-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docx
 
Best iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdfBest iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdf
 
Top listed iPhone app development UK Tools to consider in 2022.pdf
Top listed iPhone app development UK Tools to consider in 2022.pdfTop listed iPhone app development UK Tools to consider in 2022.pdf
Top listed iPhone app development UK Tools to consider in 2022.pdf
 
iOS App Development Presented by Edifyself
iOS App Development Presented by EdifyselfiOS App Development Presented by Edifyself
iOS App Development Presented by Edifyself
 
Apple iOS Documentation
Apple iOS DocumentationApple iOS Documentation
Apple iOS Documentation
 
Smart phones
Smart phonesSmart phones
Smart phones
 
iOS & Android Application Development - Pee Dee User Group Meeting
iOS & Android Application Development - Pee Dee User Group MeetingiOS & Android Application Development - Pee Dee User Group Meeting
iOS & Android Application Development - Pee Dee User Group Meeting
 
Android & IOS
Android & IOSAndroid & IOS
Android & IOS
 
Learn everything about mobile app development. .pdf
Learn everything about mobile app development. .pdfLearn everything about mobile app development. .pdf
Learn everything about mobile app development. .pdf
 
I phone apps developments interview
I phone apps developments interviewI phone apps developments interview
I phone apps developments interview
 
Android
AndroidAndroid
Android
 
Development of Mobile Application -PPT
Development of Mobile Application -PPTDevelopment of Mobile Application -PPT
Development of Mobile Application -PPT
 
Ios
IosIos
Ios
 
IOS7
IOS7IOS7
IOS7
 

Mehr von Vibrant Technologies & Computers

Mehr von Vibrant Technologies & Computers (20)

Buisness analyst business analysis overview ppt 5
Buisness analyst business analysis overview ppt 5Buisness analyst business analysis overview ppt 5
Buisness analyst business analysis overview ppt 5
 
SQL Introduction to displaying data from multiple tables
SQL Introduction to displaying data from multiple tables  SQL Introduction to displaying data from multiple tables
SQL Introduction to displaying data from multiple tables
 
SQL- Introduction to MySQL
SQL- Introduction to MySQLSQL- Introduction to MySQL
SQL- Introduction to MySQL
 
SQL- Introduction to SQL database
SQL- Introduction to SQL database SQL- Introduction to SQL database
SQL- Introduction to SQL database
 
ITIL - introduction to ITIL
ITIL - introduction to ITILITIL - introduction to ITIL
ITIL - introduction to ITIL
 
Salesforce - Introduction to Security & Access
Salesforce -  Introduction to Security & Access Salesforce -  Introduction to Security & Access
Salesforce - Introduction to Security & Access
 
Data ware housing- Introduction to olap .
Data ware housing- Introduction to  olap .Data ware housing- Introduction to  olap .
Data ware housing- Introduction to olap .
 
Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.
 
Data ware housing- Introduction to data ware housing
Data ware housing- Introduction to data ware housingData ware housing- Introduction to data ware housing
Data ware housing- Introduction to data ware housing
 
Salesforce - classification of cloud computing
Salesforce - classification of cloud computingSalesforce - classification of cloud computing
Salesforce - classification of cloud computing
 
Salesforce - cloud computing fundamental
Salesforce - cloud computing fundamentalSalesforce - cloud computing fundamental
Salesforce - cloud computing fundamental
 
SQL- Introduction to PL/SQL
SQL- Introduction to  PL/SQLSQL- Introduction to  PL/SQL
SQL- Introduction to PL/SQL
 
SQL- Introduction to advanced sql concepts
SQL- Introduction to  advanced sql conceptsSQL- Introduction to  advanced sql concepts
SQL- Introduction to advanced sql concepts
 
SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data   SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data
 
SQL- Introduction to SQL Set Operations
SQL- Introduction to SQL Set OperationsSQL- Introduction to SQL Set Operations
SQL- Introduction to SQL Set Operations
 
Sas - Introduction to designing the data mart
Sas - Introduction to designing the data martSas - Introduction to designing the data mart
Sas - Introduction to designing the data mart
 
Sas - Introduction to working under change management
Sas - Introduction to working under change managementSas - Introduction to working under change management
Sas - Introduction to working under change management
 
SAS - overview of SAS
SAS - overview of SASSAS - overview of SAS
SAS - overview of SAS
 
Teradata - Architecture of Teradata
Teradata - Architecture of TeradataTeradata - Architecture of Teradata
Teradata - Architecture of Teradata
 
Teradata - Restoring Data
Teradata - Restoring Data Teradata - Restoring Data
Teradata - Restoring Data
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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...
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Ios - Introduction to swift programming

  • 3. 3/82 The Basics What is an app? App is simply short for application. It is computer software written for a specific user task. What is IOS? Originally iPhone Operating System, IOS is a mobile operating system developed and distributed by Apple. It was released in 2007 for the iPhone and the iPod Touch. It was later extended for the iPad and Apple TV. Over 40% of smart phone subscribers use an Apple phone. Current market share for smart phones:
  • 4. 4/82 The Basics Americans used smartphone and tablet apps more than PCs to access the Internet in January, 2014 -- the first time that has ever happened. Mobile devices accounted for 55% of Internet usage in the United States in January. Apps made up 47% of Internet traffic and 8% of traffic came from mobile browsers. PCs clocked in at 45%.
  • 5. 5/82 The Basics What is Objective-C? It is a high-level, object-oriented programming language. It is the main language used for IOS and OS X application development. What is Swift? It is a multi-paradigm, compiled programming language developed by Apple for iOS and OS X development. Introduced in 2014, Swift is designed to work with Apple's Cocoa and Cocoa Touch frameworks and the large body of existing Objective-C code written for Apple products. Swift is intended to be more resilient against erroneous code. It is built with the LLVM compiler included in Xcode 6 beta, and uses the Objective-C runtime, allowing Objective-C, Objective-C++ and Swift code to run within a single program.
  • 6. 6/82 The Basics  What is Cocoa Touch? It is the user interface (UI) framework for building IOS applications. It is based on Cocoa, which is the application programming interface (API) for the Mac operating system.  What is Xcode? It is an integrated development environment (IDE) containing a suite of software development tools developed by Apple for developing software for OS X and iOS. First released in 2003, the latest stable release is version 5.1 and is available via the Mac App Store free of charge for Mac OS X Lion, OS X Mountain Lion and OS X Mavericks users. Registered developers can download preview releases and previous versions of the suite through the Apple Developer website. Apple recently made a beta version of version 6.x of the software available to those of the public with Apple Developer accounts.
  • 7. 8/82 Developing Mobile Apps More differences between developing mobile apps and standard software IOS apps can read and write files in an area called a sandbox. There is limited access to the rest of the device. Programs need to open quickly and close down quickly. For example, If your app takes more than 5 seconds to give up control when the user hits the home button, the app may be killed. Conserving memory is important in writing apps. A device (i.e., iPhone 4s, iPad 2) may have 512MB of RAM, but much of that is used for the screen and by other system processes.
  • 8. 9/82 Developing Mobile Apps IOS devices have features that many Macs do not have: Determining geographic coordinates Built-in camera Built-in accelerometer To develop apps for IOS, you will need: A Macintosh computer Xcode software To register as an Apple Developer
  • 9. 10/82 Creating a simple “Hello World” app 1. Create a New Xcode Project 2. Choose IOS Application, Single View Application -> Next 3. Enter Hello World for the Product Name 4. Choose a location and then Create 5. Click on Main.Storyboard, the top of the View Controller, then Attributes (at the right). Change Size to iPhone 4-inch and Orientation as Portrait 6. From the Object Library at the bottom right, choose and drag both a label and a button to your View Controller 7. Close the Utilities window and click on the Assistant Editor Control-Drag the label to right below the line that starts Class View… Enter theLabel as its name Modify the line of code if needed so that it says: @IBOutlet var theLabel: UILabel? (Note the question mark at the end.) 1. Control-Drag the button to below your outlet. When the popup occurs, choose Action as the Connection type and give it a Name of theButton 2. In the function that was created, add this line between the braces: theLabel?.hidden = true 1. Run your program using the simulator
  • 10. 11/82 ThankThank You !!!You !!! For More Information click below link: Follow Us on: http://vibranttechnologies.co.in/ios-classes-in-mumbai.html