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で作るiOSアプリ開発入門_01
Search
jollyjoester
January 30, 2016
Education
0
160
Swiftで作るiOSアプリ開発入門_01
Schooでの講義資料
jollyjoester
January 30, 2016
Tweet
Share
More Decks by jollyjoester
See All by jollyjoester
コミュニティMTG in WWDC24
jollyjoester
0
210
BengaluruでLTしてきた
jollyjoester
0
260
try! Swift Tokyo 2024
jollyjoester
0
220
エンジニアが直接会う場の価値について
jollyjoester
8
4k
来年Proposalを出すつもりで参加するときっともっと楽しい!
jollyjoester
0
280
My favorite sessions in WWDC 23
jollyjoester
0
570
みんなでAIと戯れよう
jollyjoester
0
97
続く勉強会の作り方
jollyjoester
2
800
Code for INZAIの歩み
jollyjoester
0
350
Other Decks in Education
See All in Education
HCL Domino 14.0 AutoUpdate を試してみた
harunakano
0
1.7k
東工大 traP Kaggle班 機械学習講習会 2024
abap34
2
310
Comezando coas redes
irocho
0
370
勉強したらどうなるの?
mineo_matsuya
10
6.5k
RSJ2024学術ランチョンセミナー「若手・中堅による国際化リーダーシップに向けて」資料 (河原塚)
haraduka
0
220
Web 2.0 Patterns and Technologies - Lecture 8 - Web Technologies (1019888BNR)
signer
PRO
0
2.4k
Semantic Web and Web 3.0 - Lecture 9 - Web Technologies (1019888BNR)
signer
PRO
1
2.5k
Ch2_-_Partie_1.pdf
bernhardsvt
0
110
JavaScript - Lecture 6 - Web Technologies (1019888BNR)
signer
PRO
0
2.5k
cbt2324
cbtlibrary
0
110
ルクソールとツタンカーメン
masakamayama
1
830
横浜国立大学大学院 国際社会科学府 経営学専攻博士課程前期(社会人専修コース)_在校生体験談
miki_small_pin
0
690
Featured
See All Featured
RailsConf 2023
tenderlove
29
900
For a Future-Friendly Web
brad_frost
175
9.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
How GitHub (no longer) Works
holman
310
140k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Transcript
SwiftͰ࡞Δ iOSΞϓϦ։ൃೖ ̍ݶɿiPhoneΞϓϦ։ൃʹඞཁͳͷΛཧղ͢Δ 1
ࣗݾհ ࣣౡҒ೭ʢͳͳ͠·ͻͰΏ͖ʣ Reproגࣜձࣾ iPhoneΞϓϦ։ൃ͕ಘҙ 2
ࣗݾհ 3 https://repro.io
ຊίʔεͷඪ ۤΛΓӽ͑ͯ ָ͘͠ΞϓϦ։ൃͰ͖ΔΑ͏ʹͳΔʂ 4
෭ڭࡐ վగ൛ No.1εΫʔϧߨࢣਞʹΑΔ ੈքҰड͚͍ͨ iPhoneΞϓϦ։ൃͷतۀ (ٕज़ධࣾ) 5
ࠓճͷतۀͷඪ ૣ͘ΞϓϦ։ൃͯ͠Έ͍ͨʂ ͱΔؾ͕ग़Δ͜ͱ 6
तۀͷલఏ݅ iPhoneʹ Google MapsΞϓϦ ΛΠϯετʔϧ͓ͯ͘͠ 7
ຊͷϝχϡʔ • ΞϓϦ։ൃʹඞཁͳͷΛΔ • iPhoneΛΔ • XcodeͷΠϯετʔϧͷํΛΔ 8
ΞϓϦ։ൃʹඞཁͳͷΛΔ 9
ΞϓϦ։ൃʹඞཁͳͷ iPhoneΞϓϦ։ൃʹMac͕ඞཁͰ͋Δ ɹ or ɹʁ 10 ◦ ×
ΞϓϦ։ൃʹඞཁͳͷ iPhoneΞϓϦ։ൃʹMac͕ඞཁͰ͋Δ ɹ 11 ◦
ΞϓϦ։ൃʹඞཁͳͷ • Mac • Xcode • iPhone (͋Εϕλʔ) 12
ΞϓϦ։ൃʹඞཁͳͷ • Macɿ ‣ OS X 10.10.5 YosemiteҎ߱ ‣ MacBook
AirͰՄ • Xcode • iPhone (͋Εϕλʔ) 13
ΞϓϦ։ൃʹඞཁͳͷ • Mac • Xcode ‣ ιϑτΣΞΛ։ൃ͢ΔͨΊͷπʔϧ ‣ App Store͔ΒແྉͰೖखՄ
• iPhone (͋Εϕλʔ) 14
ΞϓϦ։ൃʹඞཁͳͷ • Mac (OS X 10.10.5 YosemiteҎ߱) • Xcode •
iPhone (͋Εϕλʔ) ‣ ಈ࡞֬ೝʹ͏ʢ࠷ॳͷ͏ͪͳͯ͘Մʣ ‣ ηϯαʔͳͲΛ͏ΞϓϦΛ࡞Δͱ͖ඞਢ 15
ษڧͤͳ͔͋Μͷ • Xcodeͷ͍ํ • ϓϩάϥϛϯάݴޠSwift • iPhoneʢ㲈iOSʣͷػೳͷཧղ 16
ษڧͤͳ͔͋Μͷ • Xcodeͷ͍ํ ‣ ଟػೳ͍͗ͯ͢͠ ‣ ̎ݶҎ߱ͣͬͱ͓͖߹͍ ‣ ͍ͭ͜ͱྑ͘ͳΕΔ͔͕ΞϓϦ։ൃͷΧΪ •
ϓϩάϥϛϯάݴޠSwift • iPhoneʢ㲈iOSʣͷػೳͷཧղ 17
ษڧͤͳ͔͋Μͷ • Xcodeͷ͍ํ • ϓϩάϥϛϯάݴޠSwift ‣ iPhoneΞϓϦ։ൃͰ͏ͷObjective-CͱSwift ‣ 2014ʹൃද͞Εͨ৽͍͠ݴޠɻͷత •
iPhoneʢ㲈iOSʣͷػೳͷཧղ 18
ษڧͤͳ͔͋Μͷ • Xcodeͷ͍ํ • ϓϩάϥϛϯάݴޠSwift • iPhoneʢ㲈iOSʣͷػೳͷཧղ ‣ iOSiPhoneͷOS ‣
iPhoneͰͰ͖Δ͜ͱ㲈ࣗͷΞϓϦͰͰ͖Δ 19
iPhoneΛΔ 20
iPhoneͷొ iPhone͕࠷ॳʹൃද͞Εͨͷ ͍ͭͰ͠ΐ͏ʁ ‣ 2004 ‣ 2007 ‣ 2010 21
iPhoneͷొ iPhone͕࠷ॳʹൃද͞Εͨͷ ͍ͭͰ͠ΐ͏ʁ ‣ 2004 ‣ 2007 ‣ 2010 22
͜ͷͱ͖ͷεςΟʔϒδϣϒζͷ ϓϨθϯઆʹͳ͍ͬͯΔͷͰ Ұ؍ͯΈΔ͜ͱΛΦεεϝ
ػछ ൃද ػछ໊ OS 2007 iPhoneॳ iPhone OS 1.0 2008
iPhone3G iPhone OS 2.0 2009 iPhone3GS iPhone OS 3.0 2010 iPhone4 iOS 4.0 2011 iPhone4S iOS 5.0 2012 iPhone5 iOS 6.0 2013 iPhone5s/5c iOS 7.0 2014 iPhone6/6Plus iOS 8.0 2015 iPhone6s/6sPlus iOS 9.0 ຊͰൃചʂ 23
OS ൃද ػछ໊ OS 2007 iPhoneॳ iPhone OS 1.0 2008
iPhone3G iPhone OS 2.0 2009 iPhone3GS iPhone OS 3.0 2010 iPhone4 iOS 4.0 2011 iPhone4S iOS 5.0 2012 iPhone5 iOS 6.0 2013 iPhone5s/5c iOS 7.0 2014 iPhone6/6Plus iOS 8.0 2015 iPhone6s/6sPlus iOS 9.0 24
αΠζ http://www.apple.com/jp/iphone/compare/ 25
Ϛϧνλον 26
ηϯαʔ/ϋʔυΣΞ ηϯαʔ/ϋʔυΣΞ ׂ Χϝϥʢϑϩϯτ/όοΫʣ ࣸਅɾಈըΛࡱΔ ϚΠΫ ԻΛݕ͢Δ εϐʔΧʔ ԻΛग़͢ όΠϒϨʔλʔ
ৼಈ͢Δ LED ϥΠτΛ౮͢Δ BLE(Bluetooth Low Energy) Bluetooth௨৴͢Δ 27
ηϯαʔ/ϋʔυΣΞ ηϯαʔ/ϋʔυΣΞ ׂ GPS ҐஔใΛݕ͢Δ Ճηϯαʔ ՃΛݕ͢Δ δϟΠϩείʔϓ iPhoneͷճసΛݕ͢Δ ɹۙηϯαʔ
ը໘ʹ͍͍ۙͮͯΔͷΛݕ͢Δ ࣓ྗηϯαʔ iPhoneͷ͍͍ͯΔํ֯Λݕ͢Δ ًηϯαʔ ը໘ͷ໌Δ͞Λݕ͢Δ ࢦೝূηϯαʔ ࢦΛݕ͢Δ 28
iPhoneͷૢ࡞ΛΔ 29
iPhoneͷૢ࡞ iPhoneΛૢ࡞͢Δํ๏ʹ ʮλοϓʯɺʮεϫΠϓʯ͕͋Γ·͕͢ ଞʹԿ͕͋ΔͰ͠ΐ͏͔ʁ 30
࣮ફͰ͑߹Θͤ 31
δΣενϟʔ δΣενϟʔ ૢ࡞ͷํ Google MapsͰͷػೳ λοϓ ࢦΛҰλονͯ͠ ͙͢͢ બͳͲ μϒϧλοϓ
̎ճ࿈ଓλοϓ ਤͷ֦େ ϩϯάϓϨε ʢϩϯάλοϓʣ ࢦΛλονͨ͠·· ͠Β͓͘͘ ϚʔΧʔΛஔ͢Δ εϫΠϓʢϑϦοΫʣ λονͨ͠ࢦΛૉૣ͘ εϥΠυ͢Δ ਤͷҠಈ 32
δΣενϟʔ δΣενϟʔ ૢ࡞ͷํ Google MapsͰͷػೳ ύϯʢυϥοάʣ λονͨ͠ࢦΛͣ͞ ʹҠಈͤ͞Δ ਤͷҠಈ ϐϯνΠϯ
̎ຊࢦͰλονͯ͠ ͣ͞ʹࢦͷؒΛڱΊΔ ਤͷॖখ ϐϯνΞτ ̎ຊࢦͰλονͯ͠ ͣ͞ʹࢦͷؒΛ͛Δ ਤͷ֦େ ϩʔςʔτ ̎ຊࢦͰλονͯ͠ ͣ͞ʹԁΛඳ͘ ਤͷճస 33
δΣενϟʔ(GoogleMapsಠࣗ) δΣενϟʔ ૢ࡞ͷํ Google MapsͰͷػೳ μϒϧλοϓ ˍ্εϫΠϓ μϒϧλοϓͷ̎ճͷ λοϓΛ্εϫΠϓ͢Δ ਤͷॖখ
μϒϧλοϓ ˍԼεϫΠϓ μϒϧλοϓͷ̎ճͷ λοϓΛԼεϫΠϓ͢Δ ਤͷ֦େ 2ຊࢦλοϓˍ্Լʹε ϫΠϓ 2ຊࢦͰλονͯ͠ࢦΛ ্ͣ͞ԼʹεϫΠϓ 3Dਤͷදࣔ/ඇදࣔ 34
XcodeͷΠϯετʔϧͷํΛΔ 35
XcodeͷΠϯτʔϧ App Store͔ΒແྉͰΠϯετʔϧͰ͖·͢ 36
XcodeͷΠϯτʔϧ 37
Πϯετʔϧ࣌ͷҙࣄ߲ • ωοτϫʔΫˍిݯڥͷྑ͍ͱ͜ΖͰ • ࣌ؒͷ༨༟ͷ͋Δͱ͖ʹ • 10GB΄Ͳͷ༰ྔΛ͍·͢ 38
ΔؾͰ͖ͯ·͔ͨ͠ʁ 39
ຊͷ͓͞Β͍ • Mac, Xcode, iPhone͕ඞཁ • Xcode, Swift, iOSʹ͍ͭͯ͜Ε͔Βษڧ͢ΔΑ •
iPhone͍ͬͯ͢͝ʂ • Δؾग़ͨͷͰͬͦ͘͞XcodeΛΠϯετʔϧʂʂ 40