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
Watch Kitのはまりどころ
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
t.goda
March 29, 2019
Programming
63
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Watch Kitのはまりどころ
t.goda
March 29, 2019
More Decks by t.goda
See All by t.goda
Distribute Binary Framework with Swift Package Manager
nivisunder7
0
140
XCTestでAPIのテストコードを書く
nivisunder7
0
420
App Clipについて
nivisunder7
1
82
Swift5.0 ABI安定化について
nivisunder7
0
390
SwiftUIの紹介
nivisunder7
0
43
Docker in Docker Tips
nivisunder7
0
63
iOS11のここが素晴らしい
nivisunder7
0
88
iPhoneX時代のレイアウト
nivisunder7
0
100
SpriteKitでゲーム開発
nivisunder7
0
120
Other Decks in Programming
See All in Programming
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
610
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
240
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
370
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
160
Java 27新機能 / Java 27 new features
kishida
2
110
Heart of Swift Concurrency
koher
0
400
高専キャリア LT 発表内容
crysta1221
6
5.7k
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
470
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.1k
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
250
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
540
Featured
See All Featured
Claude Code のすすめ
schroneko
67
230k
How GitHub (no longer) Works
holman
316
150k
Chasing Engaging Ingredients in Design
codingconduct
0
310
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
230
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
Navigating Weather and Climate Data
rabernat
0
520
We Are The Robots
honzajavorek
0
370
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
930
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Transcript
APPLE WATCH ·ΓͲ͜Ζ 2019/03/29
APPLE WATCH ΞϓϦΛ࣮͢Δʹ͋ͨͬͯ ▸ ར༻͢ΔFramework͕ҟͳΔ ▸ WatchKit ͱ UIKit ▸
ex. UIViewController͕͑ͳ͍ʂʂ ▸ Ұ෦iOSͷUIͷϊϋ͕͑ͳ͍…… ▸ ѹతʹUIΤϨϝϯτ͕গͳ͍
WATCH KITͱ UIKITͷࠩҟ ಛʹڻ͍ͨͷ ▸ WKInterfaceControllerͱUIViewController ▸ WKInterfaceController: WatchKit ▸
ΠχγϟϥΠβʹcontext͕͋Δ ▸ SubviewΛͬͨ֊ߏͷ͋Δͳ͠ ▸ ͦͦUIViewͱ͍͏֓೦͕ͳ͍ ▸ ࣅͨΑ͏ͳͷͰWKInterfaceGroup͕͋Δ ▸ ΫϥεઃܭతʹWKInterfaceObjectͷ͕͍͔ۙ
UIͷϨΠΞτ࡞ͷࠩҟ ▸ iOSͷڧΈͰ͋ΔAutoLayoutʹΑΔ੍͕ར༻Ͱ͖ͳ͍ ▸ GroupʹΑΔΫϥελϦϯάͰϨΠΞτΛ࡞͢Δ WKInterface Controller Group Group Group
UIView Controller UIView UIView UIView UIView
UI·ΓͲ͜Ζ 1 ▸ ը໘αΠζͽͬͨΓͰഎܠը૾Λ࡞Δͱը໘͕εΫϩʔϧ͢Δ ▸ series4ؙ֯ͷը໘ͷͨΊ ▸ Ͳ͏ͯ͠ը໘αΠζͽͬͨΓͰ࡞Γ͍͚ͨͲεΫϩʔϧ͞ ͤͨ͘ͳ͍ͳΒFixedScreenEdgeϓϩύςΟʹνΣοΫΛೖ ΕΔ(StoryboardͰͷΈࢦఆՄೳ)
ςΩετ UI·ΓͲ͜Ζ 2 ▸ ը૾ͷαΠζࢦఆ͕WatchͷαΠζ͝ͱʹҧͬͯࢦఆ͞Εͯ Δʂʂʂ ▸ ex. 38mmͰ16*16Ͱ44Ͱ18*18 etc…
▸ ͭΒ͍(ෆՄೳͰͳ͍)
TABLE࡞ ▸ UITableView ▸ UITableViewCellΫϥεͰCellΛ࡞ ▸ xibϑΝΠϧͰΧελϜΫϥεΛ൚༻తʹ࡞Մೳ ▸ WKInterfaceTable ▸
NSObjectΛܧঝͨ͠RowΫϥεΛ࡞(cellͱ͍͏֓೦ͳ͍) ▸ xibϑΝΠϧͰΧελϜΫϥεΛ൚༻తʹ࡞ෆՄ https://github.com/facebookarchive/IGInterfaceDataTable
IPHONEͱͷ௨৴ ▸ جຊతʹWCSessionΛར༻ ▸ AppGroups᠘ ▸ iPhoneଆͰWCSessionͷίʔυΛॻ͘ඞཁ͋Γ ▸ iPhoneʹଓ͞Ε͍ͯΔ͔ ▸
௨৴தͷActivityIndicatorࣗલͰ࡞Δඞཁ͕͋Δ ▸ Appleᐌ͘ʮInteractions with your app should be quick. A responsive app provides a complication and keeps its snapshot up-to-date. It minimizes the time it takes to launch and load new screens. ʯ
PUSH௨ ▸ iPhone͕ى͖͍ͯΔঢ়ଶͩͱWatchଆʹ௨͕ಧ͔ͳ͍ ௨λΠϓ ૹΓݩ ಧ͘ઌ ϩʔΧϧ iOS app iPhone͕ϩοΫ͞Ε͍ͯΕ
Watchʹɺͦ͏Ͱͳ͚Ε iPhoneʹಧ͘ ϩʔΧϧ WatchKit Extension (Watch app) Apple Watchʹ͔͠ಧ͔ͳ͍ ϦϞʔτ αʔό iPhone͕ϩοΫ͞Ε͍ͯΕ Watchʹɺͦ͏Ͱͳ͚Ε iPhoneʹಧ͘ αΠϨϯτ αʔό iPhoneʹ͔͠ಧ͔ͳ͍
ͦͷଞ ▸ ΧελϜViewͷ͍ճ͕͠Ͱ͖ͳ͍…… ▸ xibϑΝΠϧΛ࡞Ͱ͖ͳ͍ ▸ ActivityIndicatorͱ͔Λը໘͝ͱʹ࡞Δඞཁ͕͋Δ ▸ ͦͦใ͕গͳ͍ ▸
Qiitaͱ͔ʹهࣄ͕গͳ͍ ▸ ͋ͬͯใ͕ݹ͍
·ͱΊ ▸ iOSΞϓϦͰ׳ΕͯΔ͔Β·͊େৎΖʙʢųŽ ▸ ࢮʹ·͢ ▸ ݴޠͱIDE͕ڞ௨ͯ͠Δ͚ͩͷผ ▸ ͑Δϊϋ ▸
વ͕ͩSwiftͰͰ͖Δ͜ͱڞ௨ ▸ ͑ͳ͍ϊϋ ▸ UIपΓ ▸ σβΠφʔͱΑͦ͘͏ͳʂ