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で作るiOSアプリ開発入門_09
Search
jollyjoester
April 16, 2016
Education
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Swiftで作るiOSアプリ開発入門_09
Schoo講義資料
jollyjoester
April 16, 2016
More Decks by jollyjoester
See All by jollyjoester
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
150
印西市創業実践プログラム2026 【AI活用講座】
jollyjoester
0
81
AI時代でも変わらない技術コミュニティの力 ~10年続く"ゆるい"つながりが生み出す価値~
jollyjoester
0
39
AIコードアシスタントとiOS開発
jollyjoester
1
390
市民のためのセキュリティ講座
jollyjoester
0
120
コミュニティMTG in WWDC24
jollyjoester
0
400
BengaluruでLTしてきた
jollyjoester
0
420
try! Swift Tokyo 2024
jollyjoester
0
430
エンジニアが直接会う場の価値について
jollyjoester
8
4.8k
Other Decks in Education
See All in Education
Sanapilvet opetuksessa
matleenalaakso
1
36k
Requirements Analysis and Prototyping - Lecture 3 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.8k
Padlet opetuksessa
matleenalaakso
12
16k
【ainiチャット操作ガイド】
ainischool
0
110
Science Tokyo University for International Research Excellence scheme_April 2026
sciencetokyo
PRO
0
480
Railsチュートリアル × 反転学習の事例紹介
yasslab
PRO
3
190k
[2026後期火5] 論理学(京都大学文学部 後期 第2回)「量化子の導入」
yatabe
0
170
1014
cbtlibrary
0
130
GENERAL PHARMACOLOGY
pawan_pharm
0
200
Sekolah Sabat - Triwulan 3 2026 - Pelajaran 12
hiola
0
12k
医療事務養成の専門学校でのAI教育 非エンジニアの学生にAIを1年間使ってもらって、感じたこと
naochim2026
0
140
Antigravityを使ってGeminiAPI(NanobananaPro)と連携して挿絵メーカーを作った
yoshimura_datam
0
260
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Six Lessons from altMBA
skipperchong
29
4.5k
Optimising Largest Contentful Paint
csswizardry
37
4k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
The Mindset for Success: Future Career Progression
greggifford
PRO
0
530
The Curious Case for Waylosing
cassininazir
1
570
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Transcript
SwiftͰ࡞Δ iOSΞϓϦ։ൃೖ 9ݶɿΞϓϦͰδΣενϟʔΛड͚औͬͯΈΔ 1
ࣗݾհ ࣣౡҒ೭ʢͳͳ͠·ͻͰΏ͖ʣ Reproגࣜձࣾ iPhoneΞϓϦ։ൃ͕͖ 2
ࣗݾհ 3 https://repro.io
ຊίʔεͷඪ ۤΛΓӽ͑ͯ ָ͘͠ΞϓϦ։ൃͰ͖ΔΑ͏ʹͳΔʂ 4
෭ڭࡐ վగ൛ No.1εΫʔϧߨࢣਞʹΑΔ ੈքҰड͚͍ͨ iPhoneΞϓϦ։ൃͷतۀ (ٕज़ධࣾ) 5 AmazonͰˑ5ϨϏϡʔ͕૿͑ͯͨ⽃
ࠓճͷतۀͷඪ δΣενϟʔΛ͑ΔΑ͏ʹͳͬͯ ΞϓϦΛͬͱָ͘͢͠Δ 6
तۀͷલఏ݅ • ͓खݩͷMacʹXcode(version7.0Ҏ্)͕Πϯετʔ ϧ͞Ε͍ͯΔ͜ͱ • લճͷ͍ΞϓϦϓϩδΣΫτ͕͋ΔͱΑΓ༗ޮʹ ֶशͰ͖·͢ɻϓϩδΣΫτԼه͔Βμϯϩʔ υͰ͖·͢ɻ https://github.com/jollyjoester/Schoo-iOS-App- Development-Basic/archive/08.zip
7
ຊͷϝχϡʔ • δΣενϟʔͱԿ͔ʁʢ͓͞Β͍ʣ • εϫΠϓΛड͚औΕΔΑ͏ʹ͢Δ • γΣΠΫΛड͚औΕΔΑ͏ʹ͢Δ 8
δΣενϟʔͱԿ͔ʁ ʢ͓͞Β͍ʣ 9
iPhoneͷૢ࡞ iPhoneΛૢ࡞͢Δํ๏ʹ ʮλοϓʯɺʮεϫΠϓʯ͕͋Γ·͕͢ ଞʹԿ͕͋ΔͰ͠ΐ͏͔ʁ 10 ̍ݶͷ͓͞Β͍
δΣενϟʔ δΣενϟʔ ૢ࡞ͷํ Google MapsͰͷػೳ λοϓ ࢦΛҰλονͯ͠ ͙͢͢ બͳͲ μϒϧλοϓ
̎ճ࿈ଓλοϓ ਤͷ֦େ ϩϯάϓϨε ʢϩϯάλοϓʣ ࢦΛλονͨ͠·· ͠Β͓͘͘ ϚʔΧʔΛஔ͢Δ εϫΠϓʢϑϦοΫʣ λονͨ͠ࢦΛૉૣ͘ εϥΠυ͢Δ ਤͷҠಈ 11 ̍ݶͷ͓͞Β͍
δΣενϟʔ δΣενϟʔ ૢ࡞ͷํ Google MapsͰͷػೳ ύϯʢυϥοάʣ λονͨ͠ࢦΛͣ͞ ʹҠಈͤ͞Δ ਤͷҠಈ ϐϯνΠϯ
̎ຊࢦͰλονͯ͠ ͣ͞ʹࢦͷؒΛڱΊΔ ਤͷॖখ ϐϯνΞτ ̎ຊࢦͰλονͯ͠ ͣ͞ʹࢦͷؒΛ͛Δ ਤͷ֦େ ϩʔςʔτ ̎ຊࢦͰλονͯ͠ ͣ͞ʹԁΛඳ͘ ਤͷճస 12 ̍ݶͷ͓͞Β͍
δΣενϟʔͷड͚औΓํ • Gesture RecognizerΛՃ͢Δ ‣ Storyboard͔ΒՃ͢Δʢࠓճͪ͜Βʣ ‣ ιʔείʔυͰՃ͢Δ 13
14 εϫΠϓΛ ड͚औΕΔΑ͏ʹ͢Δ
15 ·ͣӈεϫΠϓΛՃ͢Δ
ӈεϫΠϓΛͨ͠Β͏ ʢSwipe Gesture RecognizerΛՃʣ 16 ※ஔ͢ΔઌͷViewʹҙʂ
ӈεϫΠϓΛͨ͠Β͏ ʢSwipe Gesture Recognizerͷઃఆʣ 17
ӈεϫΠϓΛͨ͠Β͏ ʢSwipe Gesture RecognizerΛιʔείʔυͱඥ͚Δʣ 18
ӈεϫΠϓΛͨ͠Β͏ ʢγϛϡϨʔλʔͰӈεϫΠϓʂʣ 19
20 ্Լࠨӈͷ εϫΠϓΛݕ͢Δ
্ԼࠨӈͷεϫΠϓͰ͏ ʢࠨ্ԼͷGesutureRecognizerΛՃʣ 21
্ԼࠨӈͷεϫΠϓͰ͏ ʢࠨ্ԼͷGesuture Recognizerͱιʔείʔυඥ͚ʣ 22
্ԼࠨӈͷεϫΠϓͰ͏ ʢγϛϡϨʔλʔͰεϫΠϓʣ 23
24 ϘλϯλοϓͱεϫΠϓͰ ҟͳΔಈ࡞Λͤ͞Δ
ϘλϯλοϓͱεϫΠϓͰҟͳΔಈ࡞ ʢSwipeͱButton TapΛ۠ผ͢Δʣ 25
ϘλϯλοϓͱεϫΠϓͰҟͳΔಈ࡞ ʢΞχϝʔγϣϯΛϝιουʹΓग़͢ʣ 26
ϘλϯλοϓͱεϫΠϓͰҟͳΔಈ࡞ ʢεϫΠϓ࣌ͷϝιου࡞͢Δʣ 27
ϘλϯλοϓͱεϫΠϓͰҟͳΔಈ࡞ ʢεϫΠϓͷͱ͖ͷΞχϝʔγϣϯΛมߋ͢Δʣ 28
ϘλϯλοϓͱεϫΠϓͰҟͳΔಈ࡞ ʢͦΕͧΕͷॲཧΛ࣮ߦͤ͞Δʣ 29
εϫΠϓͱϘλϯλοϓͰ͏ ʢγϛϡϨʔλʔͰεϫΠϓˍϘλϯλοϓʣ 30
31 ্ԼࠨӈͷεϫΠϓͰ ҟͳΔಈ࡞Λͤ͞Δ
্ԼࠨӈεϫΠϓͰҧ͏ಈ࡞ ʢSwipeͷํΛ۠ผ͢Δʣ 32
্ԼࠨӈεϫΠϓͰҧ͏ಈ࡞ ʢSwipeͷํ͝ͱͷϝιουΛ࡞͢Δʣ 33
্ԼࠨӈεϫΠϓͰҧ͏ಈ࡞ ʢSwipeͷํ͝ͱʹॲཧͷ༰Λมߋ͢Δʣ 34
্ԼࠨӈεϫΠϓͰҧ͏ಈ࡞ ʢSwipeͷํ͝ͱʹॲཧͷ༰Λมߋ͢Δʣ 35
্ԼࠨӈͷεϫΠϓͰ͏ ʢγϛϡϨʔλʔͰεϫΠϓʣ 36
37 γΣΠΫΛ ड͚औΕΔΑ͏ʹ͢Δ
γΣΠΫΛड͚औͬͯಈ࡞ ʢγΣΠΫΛͨ͠ͱ͖ʹ࣮ߦ͢Δshake()Λ࣮͢Δʣ 38
γΣΠΫΛड͚औͬͯಈ࡞ ʢγΣΠΫΛड͚औͬͨͱ͖ʹshake()Λ࣮ߦ͢Δʣ 39
্ԼࠨӈͷεϫΠϓͰ͏ ʢγϛϡϨʔλʔͰγΣΠΫʣ 40 command + control + z
ຊͷ͓͞Β͍ • Gesture RecognizerͰδΣενϟʔड͚औΕΔ • ༷ʑͳδΣενϟʔʹରԠͯ͠৮ָ͍ͬͯ͠ΞϓϦ ʹ͠Α͏ʂ 41
ࠂ 42 http://love-swift.connpass.com/event/28615/ ࣍4݄24ʂ
ࠂ 43 http://liginc.co.jp/series/spaceapps LIGϒϩά࿈ࡌͯ͠·͢ʂ
ࠂ 44 4/30ʢʣ SwiftͰ࡞ΔiOSΞϓϦ։ൃೖ ݬͷ11ݶ։࠵ܾఆʂ ʮϥΠϒϥϦΛಋೖͯ͠ΈΑ͏ʯ