Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Swiftのちょっとうれしい構文
Search
tiking
December 03, 2020
Education
0
95
Swiftのちょっとうれしい構文
部内LTではなした内容です。
急ごしらえで作った内容なので間違いとかアドバイスなどがあればどんどん
https://twitter.com/tikin0716
までよろしくお願いします。
tiking
December 03, 2020
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
190
GraphQL 入門
tiking76
0
1.4k
みんなTCAって 知ってる?ver2.0
tiking76
1
330
みんなTCAって知ってる?
tiking76
0
960
最近きてるかもって思ってるデザイン
tiking76
0
260
p1assさんを作ろうと試みました
tiking76
0
140
PRのときに使われがちな略語のやつ
tiking76
0
110
swiftでもグラフ書いてみたくない??
tiking76
0
230
コードでUI構築してみた
tiking76
0
110
Other Decks in Education
See All in Education
IMU-00 Pi
kanaya
0
350
Data Management and Analytics Specialisation
signer
PRO
0
1.4k
著作権と授業に関する出前講習会/dme-2025-05-01
gnutar
0
190
アウトプット0のエンジニアが半年でアウトプットしまくった話 With JAWS-UG
masakiokuda
2
260
Sponsor the Conference | VizChitra 2025
vizchitra
0
320
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
1.9k
家族をスクラムチームに! アジャイルで取り組む家事と育児 | Install Scrum to Family
coosuke
PRO
1
290
Open Source Summit Japan 2025のボランティアをしませんか
kujiraitakahiro
0
250
SkimaTalk Tutorial for Corporate Customers
skimatalk
0
250
Common STIs in London: Symptoms, Risks & Prevention
medicaldental
0
130
FinOpsスキルの効率的な上げ方 #ochacafe
chacco38
1
170
生成AI時代教育とICT支援員への期待
o_ob
0
280
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
A Tale of Four Properties
chriscoyier
159
23k
KATA
mclloyd
29
14k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
YesSQL, Process and Tooling at Scale
rocio
172
14k
We Have a Design System, Now What?
morganepeng
52
7.6k
The Language of Interfaces
destraynor
158
25k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Fireside Chat
paigeccino
37
3.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Transcript
Swiftのちょっとうれしい 構文 tiking Zli部内LT 2020/12/3
Readme name : 舘佳紀 colleage : 会津大学学部3年 さーくる : Zli所属です
Handlename : チキング 好きな言語 swift twitter @tikin0716 gitHub tiking76
みなさんSwiftかいてますか??
windowsしか持ってないから開発できない…
None
None
Optional型 存在しないかもしれない値を扱う時に使う と便利なもの nil(他の言語ではnull)とかの心配がない
guard let ・if let どっちも条件分岐に関する構文です。 代入して評価します。違いは最初の分岐に関してtrueのものを書くのかfalseのものを 書くかだけです。 使い分けとしては即時リターンしたいなって時はguard let使ってるって感じです
None
Swiftだけならwindows・Linuxでも扱えます!!
docker Imageもあります
docker pullするだけで動かせるようにしました
参考 AWSがmacOSをクラウド上で利用可能にする「Amazon EC2 Mac Instances」を発表 guard letとif letの使い分け https://hub.docker.com/r/tiking76/swiftapiclient
ここまでありがとうございました