Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Swiftのポイントかいつまみ!
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
jollyjoester
August 08, 2015
Education
720
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Swiftのポイントかいつまみ!
個人的に大事だと思うSwiftのポイントかいつまみます。
jollyjoester
August 08, 2015
More Decks by jollyjoester
See All by jollyjoester
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
150
印西市創業実践プログラム2026 【AI活用講座】
jollyjoester
0
89
AI時代でも変わらない技術コミュニティの力 ~10年続く"ゆるい"つながりが生み出す価値~
jollyjoester
0
41
AIコードアシスタントとiOS開発
jollyjoester
1
400
市民のためのセキュリティ講座
jollyjoester
0
120
コミュニティMTG in WWDC24
jollyjoester
0
400
BengaluruでLTしてきた
jollyjoester
0
420
try! Swift Tokyo 2024
jollyjoester
0
440
エンジニアが直接会う場の価値について
jollyjoester
8
4.8k
Other Decks in Education
See All in Education
吉岡研究室紹介(2026年度)
kentaroy47
0
500
響け!ユーフォニアムと考える「決め方」/Thinking About Decision-Making with Sound! Euphonium
3l4l5
1
210
JavaScript - Lecture 6 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Design Guidelines and Models - Lecture 5 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.7k
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 3
hiola
0
7.1k
General Introduction, Composition, Chemistry & Chemical Classes, Biosources, Therapeutic uses and Commercial Application of Secondary Metabolites.
drpoonamkc
0
190
North Carolina Task Force on Child Care and Early Education
rashwhitman
0
770
実践プレゼンテーション・デザイン
dragon2
1
450
Introduction - Lecture 1 - Web Technologies (1019888BNR)
signer
PRO
0
6.6k
生成AIとの付き合い方/ How to work with AI
kaityo256
PRO
3
920
JOINTS
pawan_pharm
0
110
2026年度秋学期 統計学 講義の進め方と成績評価について (2026. 9. 28)
akiraasano
PRO
0
250
Featured
See All Featured
Done Done
chrislema
187
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
How STYLIGHT went responsive
nonsquared
100
6.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Become a Pro
speakerdeck
PRO
31
6.3k
Code Review Best Practice
trishagee
74
20k
The SEO identity crisis: Don't let AI make you average
varn
0
610
Transcript
Swift2.0͕ग़Δલʹ SwiftͷϙΠϯτ͔͍ͭ·Έʂ SwiftϏΪφʔζษڧձ ୈ̕ճ 2015/08/08 jollyjoester
• ࣣౡҒ೭ʢͳͳ͠·ͻͰΏ͖ʣ • Repro.Inc / ྑΤϯδχΞ • iPhone / Android
• Java -> Objective-C -> Swift • ੜ·Εਆಸɺݩઍ༿ɺ ࣗࢁޱ
https://repro.io/
Repro
ࣥචʹࢀՃ͠·ͨ͠ʂ • 2015/04/10ɹٕज़ධ͔ࣾΒൃച ೦ͳ͕ΒSwift1.1࣌ Ͱਖ਼ޡදͱαϯϓϧϓϩάϥϜSwift1.2ରԠ
Introduction • ݸਓతʹେࣄͩͱࢥ͏SwiftͷϙΠϯτ͔͍ͭ·Έ·͢ɻ
TɾOɾC • Constants and Variables • Struct and Class •
Optionals • Type Constraint • ͓·͚ : Tuples
Constants and Variables • let : immutableʢఆɺ࠶ೖෆՄʣ • var :
mutableʢมɺ࠶ೖՄʣ let : Կ͕خ͍͠ʁ
Constants and Variables let : خ͍͠ͱ͜Ζ • ແବʹՄมͳ෦Λগͳ͘͢Δ͜ͱ͕Ͱ͖Δʂ ʢແବʹՄมͳ෦͕͋Δͱෳࡶ͕͞૿ͯ͠ෆ۩߹ͷݩʣ ->جຊletͰએݴɻ࠶ೖͷඞཁੑ͕ग़͖ͯͨΒvarʹɻ
ҙ • letͰએݴͨ͠มʹΦϒδΣΫτ͕ೖ͞Ε͍ͯΔ߹ɺΦϒδΣ ΫτͷϓϩύςΟมߋͰ͖ͯ͠·͏Αɻ
Struct and Class • struct : ͠ɺclass : ࢀর͠ •
structܧঝෆՄ struct : Կ͕خ͍͠ʁ
Struct and Class struct : خ͍͠ͱ͜Ζ • ແବʹՄมͳ෦Λগͳ͘͢Δ͜ͱ͕Ͱ͖Δʂ ʢແବʹՄมͳ෦͕͋Δͱෳࡶ͕͞૿ͯ͠ෆ۩߹ͷݩʣ ->جຊstructͰɻঢ়ଶΛ࣋ͨ͟ΔΛಘͳ͔ͬͨΓܧঝ͕ඞཁͳ߹
classͰɻʢܧঝprotocolΛ͑༻Մೳͳ߹͋ΔΑʣ ҙ • ͠ͳͷͰͰ͔͍σʔλͷίϐʔཁҙ͔ʢ࠷దԽ͞ΕͯΔͱ ฉ͘ʣ
Optionals • There is a value, and it equals x
or • There isn’t value at all Optionals : Կ͕خ͍͠ʁ
Optionals Optionals : خ͍͠ͱ͜Ζ • ແବʹՄมͳ෦Λ(ry ->جຊnot OptionalͰɻOptionalͰͳ͚Εͬͯ͜͜nil ೖΔ͔ɺɺɺΈ͍ͨͳ͍ٙෆཁ ҙ
• Optionalͷཚ༻͢Δͱ
Type Constraint ܕ੍͕ڧ͍->҉ͷܕมݪଇͰ͖ͳ͍ʂ Type Constraint: خ͍͠ͱ͜Ζ • ແବʹՄม(ry
͓·͚ɿTuples ෳͷΛͻͱ·ͱΊʹͰ͖Δ ArrayDictionaryͱͷҧ͍ • ҟͳΔܕΛೖΕΒΕΔ • ϧʔϓॲཧ͕Ͱ͖ͳ͍ • ͷՃআ͕Ͱ͖ͳ͍
͓·͚ɿTuples ͳΜͰTupleʁ • ࣮Swiftͷશ෦Tuple • SwiftͷؔҾฦΓෳऔΕΔ->࣮྆ํ Tupleͳ͚ͩ
Have a nice Dev!