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
110
Swiftのちょっとうれしい構文
部内LTではなした内容です。
急ごしらえで作った内容なので間違いとかアドバイスなどがあればどんどん
https://twitter.com/tikin0716
までよろしくお願いします。
tiking
December 03, 2020
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
200
GraphQL 入門
tiking76
0
1.4k
みんなTCAって 知ってる?ver2.0
tiking76
1
340
みんなTCAって知ってる?
tiking76
0
1k
最近きてるかもって思ってるデザイン
tiking76
0
270
p1assさんを作ろうと試みました
tiking76
0
150
PRのときに使われがちな略語のやつ
tiking76
0
120
swiftでもグラフ書いてみたくない??
tiking76
0
250
コードでUI構築してみた
tiking76
0
120
Other Decks in Education
See All in Education
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
2.5k
DIP_1_Introduction
hachama
0
190
フィードバックの伝え方、受け身のココロ / The Way of Feedback: Words and the Receiving Heart
spring_aki
1
160
2025年度春学期 統計学 第15回 分布についての仮説を検証する ー 仮説検定(2) (2025. 7. 17)
akiraasano
PRO
0
110
Портфолио - Шынар Ауелбекова
shynar
0
120
2025年度春学期 統計学 第12回 分布の平均を推測する ー 区間推定 (2025. 6. 26)
akiraasano
PRO
0
170
Introduction - Lecture 1 - Web Technologies (1019888BNR)
signer
PRO
0
5.6k
今までのやり方でやってみよう!?~今までのやり方でやってみよう!?~
kanamitsu
0
180
[FUN Open Campus 2025] 何でもセンシングしていいですか?
pman0214
0
240
Transición del Management al Neuromanagement
jvpcubias
0
240
登壇未経験者のための登壇戦略~LTは設計が9割!!!~
masakiokuda
3
710
QR-koodit opetuksessa
matleenalaakso
0
1.7k
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
The World Runs on Bad Software
bkeepers
PRO
71
11k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Being A Developer After 40
akosma
91
590k
The Pragmatic Product Professional
lauravandoore
36
6.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Statistics for Hackers
jakevdp
799
220k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
610
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
ここまでありがとうございました