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
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
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
660
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
3.6k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
SREの越境 / SRE Collaboration
y0hgi
2
310
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
すこし踏み込む CancellationToken
htkym
2
1.7k
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
433
67k
Exploring anti-patterns in Rails
aemeredith
4
540
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
GraphQLとの向き合い方2022年版
quramy
50
15k
sira's awesome portfolio website redesign presentation
elsirapls
0
460
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
How to make the Groovebox
asonas
2
2.5k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Balancing Empowerment & Direction
lara
6
1.3k
Product Roadmaps are Hard
iamctodd
55
13k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
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