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
Xamarin Apple Watch
Search
USAMI Kosuke
July 11, 2015
Programming
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Xamarin Apple Watch
第5回 Japan Xamarin User Group Conference 大阪
http://jxug.connpass.com/event/15125/
USAMI Kosuke
July 11, 2015
More Decks by USAMI Kosuke
See All by USAMI Kosuke
Onsager代数とその周辺 / Onsager algebra tsudoi
usamik26
0
730
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
290
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
420
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
570
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
840
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
750
UICollectionView Compositional Layout
usamik26
0
900
Coding Swift with Visual Studio Code and Docker
usamik26
0
620
Swift Extension for Visual Studio Code
usamik26
2
1.2k
Other Decks in Programming
See All in Programming
残高管理から台帳サービスへの進化
artoy
1
200
すこし踏み込む CancellationToken
htkym
2
1.7k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
sbt 2.0: takeoff
eed3si9n
0
160
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
200
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
780
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
120
R8 の設定見直しでアプリサイズ削減
andpad
0
220
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
1.4k
AmebaブログはKMPから卒業します
kmars0605
0
160
JIS keyboard support in Omarchy
lef237
0
110
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
A better future with KSS
kneath
240
18k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Test your architecture with Archunit
thirion
2
2.4k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Marketing to machines
jonoalderson
1
5.9k
The Invisible Side of Design
smashingmag
301
52k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
So, you think you're a good person
axbom
PRO
2
2.2k
Transcript
Xamarin'Ͱ Apple%Watch%ΞϓϦΛ࡞Δ
ࣗݾհ • Ӊࠤݟ"ެี"(@usamik26) • ϑΣϯϦϧגࣜձࣾ • iOS"ΞϓϦ։ൃ • Swi1"/"Objec7ve9C"(+"Reac7ve"frameworks) •
Xamarin"+"MvvmCross
WWDC$15 • 6/8%ʢ݄ʣ%ʙ%6/12ʢۚʣ • αϯϑϥϯγεί • OS%X%10.11%/%iOS%9%/%watchOS%2 • Swi4%2
Xamarin'WWDC'Party':'6/9ʢՐʣ
Agenda • Apple&Watch&ͱ • Apple&Watch&ΞϓϦͷߏ • Xamarin&Ͱͷ։ൃͷ͔ͨ͠ • watchOS&1&͔Β&watchOS&2&
Apple%Watch%ͱ
Apple%Watch%ͷछྨ
iPhone'&'Apple'Watch • iPhone(ͱϖΞϦϯάඞਢ • Watch(୯ಠͰͰ͖Δ͜ͱগͳ͍ • Watch(Ͱ௨Λड͚औΕΔɺ͍͔ͭ͘ ͷϦΞΫγϣϯ͕Ͱ͖Δ • Watch(ଂηϯαͰऔಘͨ͠σʔλ͕(
iPhone(ʹੵ͞ΕΔ
Apple%Watch%ͷ%UI
άϥϯε!/!௨
Apple%Watch%ΞϓϦͷߏ
WatchKit • Watch'ͷΞϓϦΛ࡞ΔͨΊͷ'SDK • Watch'ͷΞϓϦɺ։ൃऀ͚υΩϡϝϯτͰ ʮWatchKit'AppʯͱݺΕ͍ͯΔ
WatchKit(ͷυΩϡϝϯτ • Apple&Developer • h,ps:/ /developer.apple.com/watchkit/ • Human&Interface&Guidelines&/&Programming&Guide • Xamarin&Developer
• h,p:/ /developer.xamarin.com/guides/ios/watch/
WatchKit(App(ͷߏ • 3#ͭͷλʔήοτ • iOS#App • WatchKit#Extension • WatchKit#App
Extension)ͱ)App • WatchKit)Extension • ࣮ߦίʔυ)/)iOS)্ʹஔ • WatchKit)App • UIʢstoryboardʣ)/)Watch)্ʹஔ •
BLE)௨৴Ͱ࿈ܞ࣮ͯ͠ߦ͞ΕΔ
Xamarin'Ͱͷ։ൃͷ͔ͨ͠
Demo WatchKit(App(Λ৽ن࡞ͯ͠ΈΔ
৽ن࡞!Demo!·ͱΊ • iOS%App%ͱಉ͡ιϦϡʔγϣϯͰ%WatchKit%App%৽ن࡞ • ࢀরઃఆʢࣗಈతʹߦΘΕΔʣ • iOS%App%.>%WatchKit%Extension%.>%WatchKit%App • Bundle%ID%ઃఆʢࣗಈతʹߦΘΕΔʣ •
WatchKit%Extension%.>%WatchKit%App%.>%iOS%App • Startup%Project%%WatchKit%Extension
Interface.storyboard • WatchKit)App)ͷ)UI)Λఆٛ͢Δ) Storyboard • View)ͯ͢)Storyboard)্Ͱఆٛ ʢίʔυͰੜෆՄʣ • ͋Β͔͡Ί༻ҙ͞Ε͍ͯΔ)View)͔͠ ͑ͳ͍ʢΧελϜ)View)ෆՄʣ
• WatchKit)App)ͷΤϯτϦϙΠϯτͷ΄ ͔ɺGlance))No;fica;on)ͷΤϯτϦ ϙΠϯτ͋Δ
Demo WatchKit(Extension(Ͱͷίʔυهड़
ίʔυهड़!Demo!·ͱΊ • WKInterfaceController/Ͱίʔυهड़ • iOS/Ͱͷ/UIViewController/ʹ͋ͨΔΫϥε • UI/ͷΞΫγϣϯΛهड़
iOS$App$ͱ$WatchKit$App$ͷ࿈ܞ • App$Group$Λ͏ • Bundle$ID$ͱ$Provisioning$Profile$ͷઃఆ • NSUserDefaults$/$ϑΝΠϧ$/$CoreData$Λڞ༗ • ͜ͷ͋ͨΓ$Xamarin$Developer$ͷυΩϡϝϯτΛಡΉͱΑ͍
watchOS(1(͔Β(watchOS(2(
iOS$9$/$watchOS$2 • iOS%9%ͱ%watchOS%2%ͷਖ਼ࣜϦϦʔεळ • ʢྫͲ͓ΓͳΒ9݄ʣ • ݱࡏɺiOS%9%ͷύϒϦοΫϕʔλ൛͕͞Ε͍ͯΔ • ։ൃऀ͚ʹैདྷ௨Γ%iOS%9%ͱ%watchOS%2%ͷϕʔλ൛͕ ͞Ε͍ͯΔ
Xamarin'ͷঢ়گ • iOS%9%ରԠͷ%Preview%൛͕ϦϦʔε͞Ε͍ͯΔ • watchOS%2%ʹະରԠ
watchOS(2
Watch&ଆͰͷಈ࡞ • WatchKit)Extension)ͷίʔυ͕)Watch)্Ͱಈ͘Α͏ʹͳΔ • BLE)௨৴Λ͞·ͳ͍ͷ্͕ݟࠐ·ΕΔ • ैདྷ)framework)͕)Watch)ଆͰಈ࡞͢ΔΑ͏ʹͳΔ • Watch)୯ಠͰͷ)HTTP)௨৴Ґஔใऔಘ
Watch&Connec+vity • iOS%App%ͱ%WatchKit%App%ͱͷ࿈ܞͷ৽͍͠खஈ • ํσʔλసૹ • iOS%ଆΛىʹ%Watch%ଆʹԿ͔Λͤ͞Δ͜ͱ͕Մೳ • ʢwatchOS%1%Ͱ͔ͬͨ͠ʣ
View%ͷՃ • Ξϥʔτ • ΞΫγϣϯγʔτ • ϐοΧʔ • ϚΠΫԻ •
ϝσΟΞ࠶ੜ
Watch&ଂηϯαͷΞΫηε • Ճηϯα • าܭ • ϚΠΫ • ɾɾɾͳͲ
Watch&Complica-on • Watch'Face'ʹಠࣗͷ༰ΛೖΕΒΕΔ • ClockKit'ͱ͍͏ઐ༻'API
Apple%Watch%ͷՄೳੑ͕͕Δ • watchOS)1)ͷ)Apple)Watch)ɺपғͷظͷେ͖͞ͱ࣮ࡍʹͰ ͖Δ͜ͱͷΪϟοϓ͕େ͖͔ͬͨ • ͦΕ͕͔͍ͬͯͯ͏Ϣʔβʹड͚ೖΕΒΕ͍ͯΔ͕ɺ ͦ͏Ͱͳ͍Ϣʔβʹड͚ೖΕΒΕ͍ͯͳ͍ͷ͕ݱঢ় • Watch)ͷاը)0>)ͦΕαʔυύʔςΟΞϓϦͰͰ͖·ͤ Μɾɾɾ
• ͜ΕΒ͕ղফ͞Ε͍ͯͣ͘
Apple%Watch%ΞϓϦࠓޙʹظ͕ ࣋ͯͦ͏