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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tiking
December 03, 2020
Education
140
0
Share
Swiftのちょっとうれしい構文
部内LTではなした内容です。
急ごしらえで作った内容なので間違いとかアドバイスなどがあればどんどん
https://twitter.com/tikin0716
までよろしくお願いします。
tiking
December 03, 2020
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
260
GraphQL 入門
tiking76
0
1.5k
みんなTCAって 知ってる?ver2.0
tiking76
1
370
みんなTCAって知ってる?
tiking76
0
1.1k
最近きてるかもって思ってるデザイン
tiking76
0
300
p1assさんを作ろうと試みました
tiking76
0
170
PRのときに使われがちな略語のやつ
tiking76
0
150
swiftでもグラフ書いてみたくない??
tiking76
0
270
コードでUI構築してみた
tiking76
0
150
Other Decks in Education
See All in Education
アジャイルなマインドセットを「取り戻す」新人研修づくり
chinmo
2
340
Highest and Best Use: Development Considerations for Land Sites
rmccaic
0
210
(2026) Quelle(s) mathématique(s) dans la "grande" culture?
mansuy
1
110
Gitの中身 / 03-a-git-internals
kaityo256
PRO
0
170
「機械学習と因果推論」入門 ③ 漸近効率な推定量と二重機械学習
masakat0
0
420
P3NFEST 2026 Spring ハンズオン「ハッキング・ラブ!はじめてのハッキングをやってみよう」資料
nomizone
0
400
リモートリポジトリの操作 / 02-c-remote
kaityo256
PRO
0
140
この講義について / 00-setup
kaityo256
PRO
2
310
悩める リーダー達に 届けたい書籍|レジリエントマネジメント 書籍イントロダクション-260126
mimoza60
1
420
反応する前に「受容する」力を鍛える。 自分の安全地帯🌱 を育てよう / Cultivating and sharing ventral vagal safety.
spring_aki
0
130
Modelamiento Matematico (Ingresantes UNI 2026)
robintux
0
260
Railsチュートリアル × 反転学習の事例紹介
yasslab
PRO
3
180k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Become a Pro
speakerdeck
PRO
31
5.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Discover your Explorer Soul
emna__ayadi
2
1.1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
510
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
89
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
250
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
97
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
ここまでありがとうございました