SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Swift 2.0
The programming language
Get ready for a change
A modern programming
language that is safe, fast,
and interactive.
“
”
Apple Gives Open Source a Swift 2 Kick
Swift is a powerful and intuitive programming language for
iOS, OS X, and iWatchOS.
WHAT IS SWIFT?
Swift is a powerful and intuitive programming language for
iOS, OS X, and iWatchOS.
Writing Swift is interactive and fun, the syntax is concise yet
expressive, and apps run lightning-fast.
WHAT IS SWIFT?
Swift is a powerful and intuitive programming language for
iOS, OS X, and iWatchOS.
Writing Swift is interactive and fun, the syntax is concise
yet expressive, and apps run lightning-fast.
Swift is ready for your next project — or addition into your
current app — because Swift code works side-by-side with
Objective-C.
WHAT IS SWIFT?
SWIFT
FEATURES
ERROR HANDLING MODEL
An advanced error handling model provides clear,
expressive syntax for catching and throwing errors.
ERROR HANDLING MODEL
An advanced error handling model provides clear,
expressive syntax for catching and throwing errors.
The new error model was designed to work seamlessly
with NSError and the Cocoa frameworks.
ERROR HANDLING MODEL
An advanced error handling model provides clear,
expressive syntax for catching and throwing errors.
The new error model was designed to work seamlessly
with NSError and the Cocoa frameworks.
Error handling code now looks like :
ERROR HANDLING MODEL
SYNTAX IMPROVEMENTS
New syntax features let you write more expressive code
while improving consistency across the language.
SYNTAX IMPROVEMENTS
New syntax features let you write more expressive code
while improving consistency across the language.
Here is just a sampling of Swift 2.0 enhancements.
SYNTAX IMPROVEMENTS
- Powerful control flow with do, guard, defer, and repeat
- Keyword naming rules unified for functions and methods
- Protocol extensions and default implementations
- Extended pattern matching to work in if clauses and for loops
New syntax features let you write more expressive code
while improving consistency across the language.
Here is just a sampling of Swift 2.0 enhancements.
AVAILABILITY
It has built-in availability checking to make it easy to build
the best possible app for each target OS version.
The compiler will give you an error when using an API
too new for your minimum target OS, and a new
keyword lets you wrap blocks of code in a conditional
version check to run only on specific OS releases.
AVAILABILITY
It has built-in availability checking to make it easy to build
the best possible app for each target OS version.
OPEN SOURCE
Unique combination of elegance, power, and safety has the
opportunity to move the entire software industry forward. It
is exciting to imagine what we will build together.
MODERN
Swift is the result of the latest research on programming
languages, combined with decades of experience building
Apple platforms.
Memory is managed automatically, and you don’t even need
to type semi-colons. All this modern thinking results in a
language that is easy and fun to use.
MODERN
INTERACTIVE PLAYGROUNDS
Playgrounds make writing Swift code incredibly simple and
fun. The Playground let you do following :
- Share curriculum to teach programming with beautiful text and interactive code.
- Design a new algorithm and watch its results every step of the way.
- Create new tests and verify they work before promoting into your test suite.
- Experiment with new APIs to hone your Swift coding skills.
- Turn your experiments into documentation with example code that runs within
the playground.
OBJECTIVE-C INTEROPERABILITY
Swift code co-exists along side your existing Objective-C
files in the same project, with full access to your Objective-C
API, making it easy to adopt.
OTHER FEATURES
- Swift has many other features to make your code more expressive:
- Closures unified with function pointers
- Tuples and multiple return values
- Generics
- Fast and concise iteration over a range or collection
- Structs that support methods, extensions, and protocols
- Functional programming patterns, e.g., map and filter
- Native error handling using try / catch / throw
References
https://developer.apple.com/swift/
ABOUT Us
We are ChromeInfo Technologies, a Mobile App Development,
Web Development and Software Testing company with
development center in India.
Mobile Application Development
Android Application Development
iPhone Application Development
iPad Application Development
Web Development
Software Testing
Follow Us
THANK YOU

Contenu connexe

Plus de ChromeInfo Technologies

The Ultimate Guide To Mvp Development Company Cost | Chromeinfotech
The Ultimate Guide To Mvp Development Company Cost | ChromeinfotechThe Ultimate Guide To Mvp Development Company Cost | Chromeinfotech
The Ultimate Guide To Mvp Development Company Cost | ChromeinfotechChromeInfo Technologies
 
Top 5 Ways to do Mobile App Market Research
Top 5 Ways to do Mobile App Market ResearchTop 5 Ways to do Mobile App Market Research
Top 5 Ways to do Mobile App Market ResearchChromeInfo Technologies
 
Follow the 9 Essential Steps to Create a Hit Mobile App
Follow the 9 Essential Steps to Create a Hit Mobile AppFollow the 9 Essential Steps to Create a Hit Mobile App
Follow the 9 Essential Steps to Create a Hit Mobile AppChromeInfo Technologies
 
Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?ChromeInfo Technologies
 
How Can Businesses Benefit from Web 2.0?
How Can Businesses Benefit from Web 2.0? How Can Businesses Benefit from Web 2.0?
How Can Businesses Benefit from Web 2.0? ChromeInfo Technologies
 
Importance of Enterprise Mobility Solution in Healthcare
Importance of Enterprise Mobility Solution in HealthcareImportance of Enterprise Mobility Solution in Healthcare
Importance of Enterprise Mobility Solution in HealthcareChromeInfo Technologies
 
Web Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceWeb Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceChromeInfo Technologies
 
Take Your Mobile App Marketing to Its “Next Level”
Take Your Mobile App Marketing to Its “Next Level”Take Your Mobile App Marketing to Its “Next Level”
Take Your Mobile App Marketing to Its “Next Level”ChromeInfo Technologies
 
For Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App DevelopmentFor Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App DevelopmentChromeInfo Technologies
 
The Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App DevelopmentThe Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App DevelopmentChromeInfo Technologies
 
Facts About The Future Of Enterprise Mobile Apps You Need To Know
Facts About The Future Of Enterprise Mobile Apps You Need To KnowFacts About The Future Of Enterprise Mobile Apps You Need To Know
Facts About The Future Of Enterprise Mobile Apps You Need To KnowChromeInfo Technologies
 
Google I/O 2016: What to expect from Android N to virtual reality?
Google I/O 2016: What to expect from Android N to virtual reality?Google I/O 2016: What to expect from Android N to virtual reality?
Google I/O 2016: What to expect from Android N to virtual reality?ChromeInfo Technologies
 

Plus de ChromeInfo Technologies (20)

The Ultimate Guide To Mvp Development Company Cost | Chromeinfotech
The Ultimate Guide To Mvp Development Company Cost | ChromeinfotechThe Ultimate Guide To Mvp Development Company Cost | Chromeinfotech
The Ultimate Guide To Mvp Development Company Cost | Chromeinfotech
 
Top 5 Ways to do Mobile App Market Research
Top 5 Ways to do Mobile App Market ResearchTop 5 Ways to do Mobile App Market Research
Top 5 Ways to do Mobile App Market Research
 
Follow the 9 Essential Steps to Create a Hit Mobile App
Follow the 9 Essential Steps to Create a Hit Mobile AppFollow the 9 Essential Steps to Create a Hit Mobile App
Follow the 9 Essential Steps to Create a Hit Mobile App
 
2018 App Segments for IoT to Invest
2018 App Segments for IoT to Invest2018 App Segments for IoT to Invest
2018 App Segments for IoT to Invest
 
COST REQUIRED TO DEVELOP AN APP
COST REQUIRED TO DEVELOP AN APPCOST REQUIRED TO DEVELOP AN APP
COST REQUIRED TO DEVELOP AN APP
 
iOS 11 is Here
iOS 11 is HereiOS 11 is Here
iOS 11 is Here
 
SEO for Mobile Apps
SEO for Mobile AppsSEO for Mobile Apps
SEO for Mobile Apps
 
Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?Native Apps vs. Web Apps – What Is the Better Choice?
Native Apps vs. Web Apps – What Is the Better Choice?
 
Chat and messaging apps
Chat and messaging appsChat and messaging apps
Chat and messaging apps
 
So, How Do You Make Agile Successful?
So, How Do You Make Agile Successful? So, How Do You Make Agile Successful?
So, How Do You Make Agile Successful?
 
How Can Businesses Benefit from Web 2.0?
How Can Businesses Benefit from Web 2.0? How Can Businesses Benefit from Web 2.0?
How Can Businesses Benefit from Web 2.0?
 
Importance of Enterprise Mobility Solution in Healthcare
Importance of Enterprise Mobility Solution in HealthcareImportance of Enterprise Mobility Solution in Healthcare
Importance of Enterprise Mobility Solution in Healthcare
 
Web Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceWeb Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User Experience
 
Take Your Mobile App Marketing to Its “Next Level”
Take Your Mobile App Marketing to Its “Next Level”Take Your Mobile App Marketing to Its “Next Level”
Take Your Mobile App Marketing to Its “Next Level”
 
For Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App DevelopmentFor Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App Development
 
The Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App DevelopmentThe Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App Development
 
Facts About The Future Of Enterprise Mobile Apps You Need To Know
Facts About The Future Of Enterprise Mobile Apps You Need To KnowFacts About The Future Of Enterprise Mobile Apps You Need To Know
Facts About The Future Of Enterprise Mobile Apps You Need To Know
 
Native Application Development Company
Native Application Development CompanyNative Application Development Company
Native Application Development Company
 
Google I/O 2016: What to expect from Android N to virtual reality?
Google I/O 2016: What to expect from Android N to virtual reality?Google I/O 2016: What to expect from Android N to virtual reality?
Google I/O 2016: What to expect from Android N to virtual reality?
 
ChromeInfotech - Corporate Profile
ChromeInfotech - Corporate ProfileChromeInfotech - Corporate Profile
ChromeInfotech - Corporate Profile
 

Dernier

UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2DianaGray10
 
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxSatishbabu Gunukula
 
Automation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projectsAutomation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projectsDianaGray10
 
SIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENT
SIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENTSIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENT
SIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENTxtailishbaloch
 
CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024Brian Pichman
 
March Patch Tuesday
March Patch TuesdayMarch Patch Tuesday
March Patch TuesdayIvanti
 
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedInOutage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedInThousandEyes
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Muhammad Tiham Siddiqui
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...DianaGray10
 
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4DianaGray10
 
Top 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTop 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTopCSSGallery
 
TrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie WorldTrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie WorldTrustArc
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and businessFrancesco Corti
 
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIMy key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIVijayananda Mohire
 
Novo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNovo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNeo4j
 
Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.IPLOOK Networks
 
AI Workshops at Computers In Libraries 2024
AI Workshops at Computers In Libraries 2024AI Workshops at Computers In Libraries 2024
AI Workshops at Computers In Libraries 2024Brian Pichman
 
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox
 
20140402 - Smart house demo kit
20140402 - Smart house demo kit20140402 - Smart house demo kit
20140402 - Smart house demo kitJamie (Taka) Wang
 

Dernier (20)

UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2
 
Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptx
 
Automation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projectsAutomation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projects
 
SIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENT
SIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENTSIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENT
SIM INFORMATION SYSTEM: REVOLUTIONIZING DATA MANAGEMENT
 
CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024
 
March Patch Tuesday
March Patch TuesdayMarch Patch Tuesday
March Patch Tuesday
 
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedInOutage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
Outage Analysis: March 5th/6th 2024 Meta, Comcast, and LinkedIn
 
Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)Trailblazer Community - Flows Workshop (Session 2)
Trailblazer Community - Flows Workshop (Session 2)
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...
 
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4
 
Top 10 Squarespace Development Companies
Top 10 Squarespace Development CompaniesTop 10 Squarespace Development Companies
Top 10 Squarespace Development Companies
 
TrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie WorldTrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie World
 
From the origin to the future of Open Source model and business
From the origin to the future of  Open Source model and businessFrom the origin to the future of  Open Source model and business
From the origin to the future of Open Source model and business
 
My key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAIMy key hands-on projects in Quantum, and QAI
My key hands-on projects in Quantum, and QAI
 
Novo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNovo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4j
 
Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.
 
SheDev 2024
SheDev 2024SheDev 2024
SheDev 2024
 
AI Workshops at Computers In Libraries 2024
AI Workshops at Computers In Libraries 2024AI Workshops at Computers In Libraries 2024
AI Workshops at Computers In Libraries 2024
 
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through TokenizationStobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
Stobox 4: Revolutionizing Investment in Real-World Assets Through Tokenization
 
20140402 - Smart house demo kit
20140402 - Smart house demo kit20140402 - Smart house demo kit
20140402 - Smart house demo kit
 

Swift 2.0

  • 1. Swift 2.0 The programming language Get ready for a change
  • 2. A modern programming language that is safe, fast, and interactive. “ ”
  • 3. Apple Gives Open Source a Swift 2 Kick
  • 4. Swift is a powerful and intuitive programming language for iOS, OS X, and iWatchOS. WHAT IS SWIFT?
  • 5. Swift is a powerful and intuitive programming language for iOS, OS X, and iWatchOS. Writing Swift is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. WHAT IS SWIFT?
  • 6. Swift is a powerful and intuitive programming language for iOS, OS X, and iWatchOS. Writing Swift is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next project — or addition into your current app — because Swift code works side-by-side with Objective-C. WHAT IS SWIFT?
  • 8. ERROR HANDLING MODEL An advanced error handling model provides clear, expressive syntax for catching and throwing errors.
  • 9. ERROR HANDLING MODEL An advanced error handling model provides clear, expressive syntax for catching and throwing errors. The new error model was designed to work seamlessly with NSError and the Cocoa frameworks.
  • 10. ERROR HANDLING MODEL An advanced error handling model provides clear, expressive syntax for catching and throwing errors. The new error model was designed to work seamlessly with NSError and the Cocoa frameworks. Error handling code now looks like :
  • 12. SYNTAX IMPROVEMENTS New syntax features let you write more expressive code while improving consistency across the language.
  • 13. SYNTAX IMPROVEMENTS New syntax features let you write more expressive code while improving consistency across the language. Here is just a sampling of Swift 2.0 enhancements.
  • 14. SYNTAX IMPROVEMENTS - Powerful control flow with do, guard, defer, and repeat - Keyword naming rules unified for functions and methods - Protocol extensions and default implementations - Extended pattern matching to work in if clauses and for loops New syntax features let you write more expressive code while improving consistency across the language. Here is just a sampling of Swift 2.0 enhancements.
  • 15. AVAILABILITY It has built-in availability checking to make it easy to build the best possible app for each target OS version.
  • 16. The compiler will give you an error when using an API too new for your minimum target OS, and a new keyword lets you wrap blocks of code in a conditional version check to run only on specific OS releases. AVAILABILITY It has built-in availability checking to make it easy to build the best possible app for each target OS version.
  • 17. OPEN SOURCE Unique combination of elegance, power, and safety has the opportunity to move the entire software industry forward. It is exciting to imagine what we will build together.
  • 18. MODERN Swift is the result of the latest research on programming languages, combined with decades of experience building Apple platforms. Memory is managed automatically, and you don’t even need to type semi-colons. All this modern thinking results in a language that is easy and fun to use.
  • 20. INTERACTIVE PLAYGROUNDS Playgrounds make writing Swift code incredibly simple and fun. The Playground let you do following : - Share curriculum to teach programming with beautiful text and interactive code. - Design a new algorithm and watch its results every step of the way. - Create new tests and verify they work before promoting into your test suite. - Experiment with new APIs to hone your Swift coding skills. - Turn your experiments into documentation with example code that runs within the playground.
  • 21. OBJECTIVE-C INTEROPERABILITY Swift code co-exists along side your existing Objective-C files in the same project, with full access to your Objective-C API, making it easy to adopt.
  • 22. OTHER FEATURES - Swift has many other features to make your code more expressive: - Closures unified with function pointers - Tuples and multiple return values - Generics - Fast and concise iteration over a range or collection - Structs that support methods, extensions, and protocols - Functional programming patterns, e.g., map and filter - Native error handling using try / catch / throw
  • 24. ABOUT Us We are ChromeInfo Technologies, a Mobile App Development, Web Development and Software Testing company with development center in India. Mobile Application Development Android Application Development iPhone Application Development iPad Application Development Web Development Software Testing