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
Server-Side_Swift.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Mbalenhle Ndaba
July 26, 2019
Technology
55
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Server-Side_Swift.pdf
Mbalenhle Ndaba
July 26, 2019
More Decks by Mbalenhle Ndaba
See All by Mbalenhle Ndaba
Machine Learning capabilities with Firebase MLKit
mbalenhlendaba
1
49
Other Decks in Technology
See All in Technology
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
940
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
Kiro Crewをはじめよう
kizawa2020
1
160
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
120
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
会社説明資料
persolserverworks
0
9.8k
パッチ更新でterraform initが落ちた日
grimoh
1
140
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1.1k
Featured
See All Featured
Designing for Performance
lara
612
70k
Code Reviewing Like a Champion
maltzj
529
40k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Embracing the Ebb and Flow
colly
88
5.2k
Deep Space Network (abreviated)
tonyrice
0
370
A Tale of Four Properties
chriscoyier
163
24k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Transcript
Moving On Swiftly to Server-Side Swift Mbalenhle Ndaba iOS Developer
@NdabaMbalenhle
Background of Swift JIM ROHN
Background Started - 2010 2014 - release Swift 1.0 Swift
2.0 - 2015 Most Loved Programming Language 2016 - Swift 3.0 Swift 4.0 - 2017 2019 - Swift 5.0
Choosing Swift JIM ROHN
Type Safety Type Safety Open Source Choosing Swift Modern Easy
to learn Fast and Powerful Objective-C, Rust, Ruby, Python, etc
Swift Features JIM ROHN
Swift Features Generics Protocol extensions First class functions Tuples -
multiple return values Structs that support methods, extensions, and protocols Enums support pattern matching Functional programming
Designed for Safety Arrays and integers are checked for overflow
Memory is automatically managed Variables are always initialized before use Prevents runtime crashes Optionals (?)
SERVER SIDE SWIFT WITH VAPOR JIM ROHN
What is Vapor?
Vapor Features HTTP Client and Server Fluent ORM Leaf Templating
- HTML Async / non-blocking IO Supports Codable
Deployment
GETTING STARTED JIM ROHN
Useful Commands NEW PROJECT vapor new HelloVapor BUILD PROJECT vapor
build RUN PROJECT vapor run UPDATE DEPENDANCIES vapor update
LET'S BUILD A SIMPLE API JIM ROHN
BENEFITS OF SERVER-SIDE SWIFT JIM ROHN
Type Safety Strongly typed Share Code Improved Performance Type Safety
Modern Syntax & Features Benefits
DRAWBACKS OF SERVER-SIDE SWIFT JIM ROHN
Drawbacks Foundation Debugging on Linux Asynchronous Architecture Resources
Resources https://developer.apple.com/swift/ https://docs.vapor.codes/3.0/ https://swift.org/getting-started/#using-the-lldb-debugger https://www.raywenderlich.com/890381-getting-started-with-server- side-swift-with-vapor#toc-anchor-002 https://www.raywenderlich.com/2401813-sharing-swift-code- between-ios-and-server-applications
THANK YOU JIM ROHN Mbalenhle Ndaba iOS Developer @NdabaMbalenhle