$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Swiftのちょっとうれしい構文
Search
tiking
December 03, 2020
Education
0
120
Swiftのちょっとうれしい構文
部内LTではなした内容です。
急ごしらえで作った内容なので間違いとかアドバイスなどがあればどんどん
https://twitter.com/tikin0716
までよろしくお願いします。
tiking
December 03, 2020
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
210
GraphQL 入門
tiking76
0
1.4k
みんなTCAって 知ってる?ver2.0
tiking76
1
350
みんなTCAって知ってる?
tiking76
0
1k
最近きてるかもって思ってるデザイン
tiking76
0
280
p1assさんを作ろうと試みました
tiking76
0
160
PRのときに使われがちな略語のやつ
tiking76
0
130
swiftでもグラフ書いてみたくない??
tiking76
0
260
コードでUI構築してみた
tiking76
0
120
Other Decks in Education
See All in Education
20250910_エンジニアの成長は自覚するところから_サポーターズ勉強会
ippei0923
0
350
~キャラ付け考えていますか?~ AI時代だからこそ技術者に求められるセルフブランディングのすゝめ
masakiokuda
7
540
QR-koodit opetuksessa
matleenalaakso
0
1.7k
ThingLink
matleenalaakso
28
4.2k
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
2
3.1k
Adobe Express
matleenalaakso
1
8.1k
【ZEPホスト用メタバース校舎操作ガイド】
ainischool
0
140
RGBでも蛍光を!? / RayTracingCamp11
kugimasa
1
250
CSS3 and Responsive Web Design - Lecture 5 - Web Technologies (1019888BNR)
signer
PRO
1
3k
Презентация "Знаю Россию"
spilsart
0
370
Sanapilvet opetuksessa
matleenalaakso
0
34k
3Dプリンタでロボット作るよ#5_ロボット向け3Dプリンタ材料
shiba_8ro
0
120
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
Speed Design
sergeychernyshev
33
1.4k
The Cult of Friendly URLs
andyhume
79
6.7k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
How to Ace a Technical Interview
jacobian
280
24k
How GitHub (no longer) Works
holman
316
140k
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
ここまでありがとうございました