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
81
Swiftのちょっとうれしい構文
部内LTではなした内容です。
急ごしらえで作った内容なので間違いとかアドバイスなどがあればどんどん
https://twitter.com/tikin0716
までよろしくお願いします。
tiking
December 03, 2020
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
180
GraphQL 入門
tiking76
0
1.3k
みんなTCAって 知ってる?ver2.0
tiking76
1
320
みんなTCAって知ってる?
tiking76
0
930
最近きてるかもって思ってるデザイン
tiking76
0
240
p1assさんを作ろうと試みました
tiking76
0
130
PRのときに使われがちな略語のやつ
tiking76
0
100
swiftでもグラフ書いてみたくない??
tiking76
0
210
コードでUI構築してみた
tiking76
0
94
Other Decks in Education
See All in Education
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
0
300
XML and Related Technologies - Lecture 7 - Web Technologies (1019888BNR)
signer
PRO
0
2.6k
Adobe Express
matleenalaakso
1
7.7k
保育士チームが実践している連続的な観察と多面的な観察を共有するための振り返り / Reflection to share “continuous and multifaceted observations” as practiced by a team of childcare professionals
psj59129
0
3.3k
Казармы и гарнизоны
pnuslide
0
170
Nodiレクチャー 「CGと数学」講義資料 2024/11/19
masatatsu
1
300
ThingLink
matleenalaakso
28
3.9k
The Prison Industrial Complex by Billy Dee
oripsolob
0
540
Logistique et supply chain : application au e-commerce
martine
0
130
世界の将来人口を誰でも語れるようになる
jo76shin
0
110
プログラミング基礎#4(名古屋造形大学)
yusk1450
PRO
0
120
Web 2.0 Patterns and Technologies - Lecture 8 - Web Technologies (1019888BNR)
signer
PRO
0
2.5k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Fireside Chat
paigeccino
34
3.2k
Optimizing for Happiness
mojombo
376
70k
Writing Fast Ruby
sferik
628
61k
The Cult of Friendly URLs
andyhume
78
6.2k
4 Signs Your Business is Dying
shpigford
182
22k
Code Review Best Practice
trishagee
66
17k
What's in a price? How to price your products and services
michaelherold
244
12k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
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
ここまでありがとうございました