Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
iOS Development with Swift
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Venkat Palivela
March 27, 2015
Programming
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOS Development with Swift
Getting started with swift and iOS development. My talk at MVP Mix 2015 in Dallas, Texas
Venkat Palivela
March 27, 2015
More Decks by Venkat Palivela
See All by Venkat Palivela
Continuous Delivery in Mobile
vpalivela
0
190
iOS Development with C#
vpalivela
0
340
Groovy on Grails
vpalivela
2
530
Other Decks in Programming
See All in Programming
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
0
210
Workers Cache を知る
syumai
0
370
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
sbt 2.0: takeoff
eed3si9n
0
160
R8 の設定見直しでアプリサイズ削減
andpad
0
220
カツオ、ご期待ください
suneo3476
0
190
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Building Applications with DynamoDB
mza
96
7.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Evolving SEO for Evolving Search Engines
ryanjones
0
330
Done Done
chrislema
187
17k
Transcript
Starting iOS Development with Swift Venkat Palivela ThoughtWorks @venkatpalivela
Hi, my name is Venkat I’m a Senior Consultant at
ThoughtWorks Developing Mobile Apps 2
Outline • What is Swift? • Swift Basics • Swift
and Objc • Why native? 3
What is Swift?
What is Swift? 5 New Language for Apple Functional Object
Oriented Statically Typed Type Inference
What does it all mean? 6 Top Down vs Bottom
Up Object Oriented Programming is top down Functional Programming is bottom up Swift is both…
Language Constructs • Types and Type Inferencing • Optional Types
• First class functions • Closures • Reactive Programming 7
Types 8 var someString = “Hello World!” let someOtherString =
“Hello World!” var someString: String = “Hello World!” let someOtherString: String = “Hello World!”
Optional Types 9 var user: User? var userName = user?.fullName.uppercaseString
var postalCode = user?.address?.state?.uppercaseString
Functions & Closures 10 func lessThanTen(number: Int) -‐> Bool {
return number < 10 } func someOperation( input: Int, success: (result: String) -‐> Void, failure: (error: NSError) -‐> Void) { // Do some async operation }
Code Demo! 11
Code Katas 12 • Prime Factors • Bowling • Mars
Rover • Poker • Vending Machine • Conway’s Game of Life
Swift and Objc 13 Objective - C Runtime Swift Objective
- C All Swift programs execute inside Objective-C runtime. As a result bridging between Swift and Objective -C is possible However, Swift only language constructs are not visible to Objective-C Bridging
Why Native? 14 http://martinfowler.com/articles/multiMobile/
Thanks! Venkat Palivela @venkatpalivela 15