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
92
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
250
p1assさんを作ろうと試みました
tiking76
0
140
PRのときに使われがちな略語のやつ
tiking76
0
110
swiftでもグラフ書いてみたくない??
tiking76
0
230
コードでUI構築してみた
tiking76
0
110
Other Decks in Education
See All in Education
教員向け生成AI講座 ~基礎から応用まで~
luiyoshida
0
600
アジャイルやっていきを醸成する内製講座
nomuson
1
450
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
1
2k
ThingLink
matleenalaakso
28
4k
SkimaTalk Teacher Guidelines Summary
skimatalk
0
750k
SkimaTalk Tutorial for Students
skimatalk
0
1.7k
Information Architectures - Lecture 2 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.5k
Gaps in Therapy in IBD - IBDInnovate 2025 CCF
higgi13425
0
460
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
4
16k
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
170
ハワイアン航空 ステータスへの道 #HAairstudy
maroon1st
0
170
SkimaTalk Introduction for Students
skimatalk
0
320
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
5.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
The World Runs on Bad Software
bkeepers
PRO
68
11k
How to Think Like a Performance Engineer
csswizardry
23
1.6k
Site-Speed That Sticks
csswizardry
6
540
How to train your dragon (web standard)
notwaldorf
91
6k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Code Reviewing Like a Champion
maltzj
523
40k
Faster Mobile Websites
deanohume
307
31k
The Language of Interfaces
destraynor
158
25k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
41
2.3k
Into the Great Unknown - MozCon
thekraken
38
1.8k
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
ここまでありがとうございました