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
Web からアプリの世界にやってきてハマったこと
Search
manemone
August 11, 2015
Technology
60
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Web からアプリの世界にやってきてハマったこと
BearTail エンジニア交流 #1 での発表スライド(再構成版)
https://atnd.org/events/68533
manemone
August 11, 2015
More Decks by manemone
See All by manemone
最近読んだ海外記事とその見つけかた / my-recent-impressed-articles-and-how-to-find-them
manemone
0
68
Other Decks in Technology
See All in Technology
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1.1k
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
140
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
150
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
142
7.8k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Building AI with AI
inesmontani
PRO
1
1.3k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Statistics for Hackers
jakevdp
799
230k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
Transcript
Web ͔ΒΞϓϦͷੈքʹ ͖ͬͯͯϋϚͬͨ͜ͱ
͋ͳͨ୭ ᖛాҰتɺWeb ΤϯδχΞ ΫοΫύουגࣜձࣾ
ʮ͓͍͍݈͠߁ʯ ͱ͍͏αʔϏεΛ࡞ͬͯΔ
"Web" ΤϯδχΞ ͷ͚ͣͩͬͨͲ……ɻ
(Web|ΞϓϦ) ΤϯδχΞʹ ԟʑʹͯ͋͠Δ͜ͱ
ࠓ͢͜ͱ • Web ౕͬͯͨΒ͕͡ΊͯΞϓϦ։ൃͬͨΒେมͩͬͨ • ͭ·͖͕ͮͪͳϙΠϯτΛవΊͯΈͨΑ
ը໘ͷΓ͚ઃܭ
Web - جຊతʹจॻʢϋΠύʔςΩετʣ • ϖʔδ୯ҐͰϏϡʔΛ࡞ • ϖʔδϦιʔεͷ CRUD ૢ࡞୯Ґ͕جຊ •
Ͱ͖ͨϖʔδΛϦϯΫͰͭͳ͍Ͱ͍͘ • Ϣʔβࣗ༝ʹϖʔδ͍ؒͬͨΓདྷͨΓͰ͖Δ
ΞϓϦ - OS ͷ UI ͱಉ Ϗϡʔ GUI ͦͷͷ •
ΠϯλϥΫςΟϒͳ UI ཁૉΛଟ༻ • ͳΔ͘ը໘ભҠΛ͠ͳ͍ ϦϯΫͷ֓೦ͳ͍ • Ϣʔβ͖ͳը໘ʹδϟϯϓͰ͖ͳ͍ • ֤ը໘ͷදࣔϑϩʔݶఆ
Web ͬΆ͍ભҠʹ͠ͳ͍ ͍͍ͨͯը໘Λ͚͗͢Δ • ࡞ը໘ˠ֬ೝը໘ˠྃը໘ • ̋ ϞʔμϧͰೖྗը໘ग़͖͙ͯͯ͢ফ͑Δ •
ʮؔ৺ʯʮతʯ୯ҐͰҰͭͷը໘ʹ·ͱΊΔͱΞϓϦͬ Ά͘ͳΔ • ίϯςϯπϝΠϯͰͳ͍ը໘ͰεΫϩʔϧආ͚Δ
Android ͱ iOS ͷ UI ͷ ҧ͍Λແࢹͯ͠͠·͏
Α͋͘Δߟ͑ ʮ྆ OS ڞ௨ͷ UI ΛσβΠϯ͍ͯ͠·Θͦ͏ʯ
Ίͨ΄͏͕͍͍ ʮ྆ OS ڞ௨ͷ UI ΛσβΠϯ͍ͯ͠·Θͦ͏ʯ
OS ͝ͱͷࣗવͳૢ࡞ମݧ͕ࣦΘΕΔ • λϒͷҐஔ • ʮΔʯΛͲ͜ʹஔ͔͘ʁ UI ΧελϚΠζ͕େม • ڞ௨σβΠϯʹ߹ΘͤΔͨΊʹඪ४ίϯϙʔωϯτΛΧελ
ϚΠζ
Dropbox ͷྫ
ը໘෦ͷΧελϚΠζ͕େม
Web ͷΧελϜ෦࡞ UI ίϯϙʔωϯτ = HTML ཁૉ + CSS +
JS جຊతͳྲྀΕ 1. div ϘοΫεΛ༻ҙ 2. CSS Ͱஔɺ০ 3. JS ͰΠϯλϥΫγϣϯΛ͚ͭΔ
Web ͷΧελϜ෦࡞ • ը໘০༻ͷ؆қͳݴޠ͕༻ҙ͞Ε͍ͯΔ • ͲΜͳ DOM (form ܥΛআ͍ͯ)
ಉ͡Α͏ʹѻ͑Δ • ΠϯλϥΫγϣϯઃఆΠϕϯτΩϟονˠclass ͷมߋͱ୯ ७
ΞϓϦ(iOSͷ߹)ͷΧελϜ෦࡞ UI ίϯϙʔωϯτ = Swift ͷ Ϋϥε جຊతͳྲྀΕ 1. ݩͱͳΔΫϥεͷܧঝؔΛ֬ೝ
2. Swift ίʔυͰஔɺ০ 3. Swift ίʔυͰΠϕϯτͷॲཧ
ΞϓϦ(iOSͷ߹)ͷΧελϜ෦࡞ • جຊతʹͯ͢ͷઃఆΛ Swift ʢ൚༻ݴޠʣͰߦ͏ඞཁ • ܧঝؔʹΑͬͯίϯϙʔωϯτ͝ͱʹઃఆՄೳͳ০߲ ͕ҟͳΔ • ίϯϙʔωϯτ͝ͱʹ࣮͠ͳ͚ΕͳΒͳ͍ϝιου͕
ࡉ͔ܾ͘ΊΒΕ͍ͯΔ • جຊతʹॻ͔ͳ͚ΕͳΒͳ͍ྔ͕ଟ͍
͜ΜͳཁૉΛͭ͘Ζ͏ͱͨ͠ͱ͖ • ઢϘʔμ • ؙ֯
Web border: 2px dotted solid; corner-radius: 4px;
ΞϓϦ(!) var line = UIBezierPath() lineColor.setStroke() line.lineWidth = lineWidth line.flatness
= pathFlatness line.setLineDash(linePattern, count: linePattern.count, phase: 0) line.lineCapStyle = correctedLineCap if drawTopLeftCorner { line.moveToPoint(borderTopLeftCornerEntry) line.addArcWithCenter(borderTopLeftCornerCenter, radius: borderTopLeftRadius, startAngle: CGFloat(M_PI), endAngle: CGFloat(1.5*M_PI), clockwise: true) } if drawTop { if !drawTopLeftCorner { line.moveToPoint(borderTopLeftCornerExit) } line.addLineToPoint(borderTopRightCornerEntry) } if drawTopRightCorner { if !drawTop { line.moveToPoint(borderTopRightCornerEntry) } line.addArcWithCenter(borderTopRightCornerCenter, radius: borderTopRightRadius, startAngle: CGFloat(1.5*M_PI), endAngle: CGFloat(2.0*M_PI), clockwise: true) } if drawTrailing { if !drawTopRightCorner { line.moveToPoint(borderTopRightCornerExit) } line.addLineToPoint(borderBottomRightCornerEntry) } if drawBottomRightCorner { if !drawTrailing { line.moveToPoint(borderBottomRightCornerEntry) } line.addArcWithCenter(borderBottomRightCornerCenter, radius: borderBottomRightRadius, startAngle: CGFloat(0.0), endAngle: CGFloat(0.5*M_PI), clockwise: true) } if drawBottom { if !drawBottomRightCorner { line.moveToPoint(borderBottomRightCornerExit) } line.addLineToPoint(borderBottomLeftCornerEntry) } if drawBottomLeftCorner { if !drawBottom { line.moveToPoint(borderBottomLeftCornerEntry) } line.addArcWithCenter(borderBottomLeftCornerCenter, radius: borderBottomLeftRadius, startAngle: CGFloat(0.5*M_PI), endAngle: CGFloat(1.0*M_PI), clockwise: true) } if drawLeading { if !drawBottomLeftCorner { line.moveToPoint(borderBottomLeftCornerExit) } line.addLineToPoint(borderTopLeftCornerEntry) } line.stroke() self.layoutIfNeeded()
ΞϓϦͰΧελϜ UI Λ࡞Δͱ͖ • جຊతʹͳΔ͘࡞Βͳ͍ • Ұ࡞ͬͨΒΞϓϦશମͰ͍·ΘͤΔઃܭʹ͓ͯ͘͠ • ݩͱͳΔ UI
෦ͷੑ࣭Λԡ͑͞Δ • جఈΫϥεͳʹ͔ʁ • ͲΜͳϓϩύςΟ͕͋Δ͔ʁ
ϕʔλ͕͍͠(iOS)
Web • εςʔδϯάαʔόΛݐͯͯͦ͜ʹσϓϩΠ • ςελࣗͷϚγϯͷϒϥβ͔Βࣗ༝ʹʹΞΫηε • ։ൃ͕ਐΜͩΒ͖ͳλΠϛϯάͰ࠷৽൛ʹߋ৽Ͱ͖Δ
iOS • ςελʹసૹɺ͘͠ AppleStore ʹҰఏग़ (TestFlight) • ςελ UUID ʗϝʔϧΞυϨεΛ։ൃऀʹఏग़͢Δඞ
ཁ • ߋ৽ͷͨͼʹసૹ͠ͳ͓͠ʗApple ʹਃ νʔϜͰͷυοάϑʔσΟϯά͕ਏ͍
Deploy gate Λͬͯղফ • UUID ͷཧɺΞϓϦΠϝʔδͷཧ Λͬͯ͘ΕΔαʔϏε • ٬ઌʹ͢Δͱ͖ϥΠηϯε ҙ
Alternative • Fabric
େมͩͬͨ…… !
ͦΕͰΞϓϦͷྑ͞Λͬͨ • ͘͘͞͞ಈ͘ • ʮ͖ͬͪΓʯͯ͠Δײ͡ʢॏཁʣ • Ϣʔβମݧͷͯ͢Λ੍ޚͰ͖Δ
Ұࣗͷ Web ΞϓϦΛωΠςΟϒԽͯ͠ΈΑ͏ ! αΫαΫײମݧͯ͠ΈΔՁ͕͋Δ