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
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Swiftのちょっとうれしい構文
部内LTではなした内容です。
急ごしらえで作った内容なので間違いとかアドバイスなどがあればどんどん
https://twitter.com/tikin0716
までよろしくお願いします。
tiking
December 03, 2020
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
300
GraphQL 入門
tiking76
0
1.5k
みんなTCAって 知ってる?ver2.0
tiking76
1
380
みんなTCAって知ってる?
tiking76
0
1.1k
最近きてるかもって思ってるデザイン
tiking76
0
300
p1assさんを作ろうと試みました
tiking76
0
180
PRのときに使われがちな略語のやつ
tiking76
0
150
swiftでもグラフ書いてみたくない??
tiking76
0
290
コードでUI構築してみた
tiking76
0
160
Other Decks in Education
See All in Education
AIがコードを書く時代に、何を教えるのか / What Should We Teach in the Age of AI-Generated Code?
ichiroc
1
490
「答えを出す」より「わかる」をつくる
kzkmaeda
1
270
批判的応用言語学ワークショップ(2026-08-12 お茶の⽔⼥⼦⼤学)
terasawat
0
160
【デザイナー就活講座】 デザイナー就活市場・企業探し・ポートフォリオのポイント
koheihasebe
0
450
[2026前期火5] 論理学(京都大学文学部 前期 第12回)「証明を走らせる:カリー・ハワード対応」
yatabe
0
270
Visionary Initiative: Materials-Positive Society 「モノの進化をポジティブな社会の原動力に」|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
1.1k
Visionary Initiative: Materials-Positive Society — Evolving “Things,” empowering a positive society | Science Tokyo
sciencetokyo
PRO
0
200
Plano urbano de Madrid desde el Ensanche al s. XXI (2ª parte).
juanmartin2026
1
2.9k
Comentario del plano urbano de Madrid hasta 1860 (1ª parte )
juanmartin2026
1
2.8k
Course Review - Lecture 13 - Information Visualisation (4019538FNR)
signer
PRO
1
2.7k
AIには考えられないことを考えられる人になるために
iqbocchi
1
230
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.8k
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
260
The Limits of Empathy - UXLibs8
cassininazir
1
610
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
Building the Perfect Custom Keyboard
takai
2
850
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
470
Producing Creativity
orderedlist
PRO
348
40k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
480
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
440
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
500
Test your architecture with Archunit
thirion
2
2.4k
The SEO identity crisis: Don't let AI make you average
varn
0
530
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
ここまでありがとうございました