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
75
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
Transcript
33 slides
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%ΞϓϦࠓޙʹظ͕ ࣋ͯͦ͏
More Decks by USAMI Kosuke
See All by USAMI Kosuke
Onsager代数とその周辺 / Onsager algebra tsudoi
usamik26
0
740
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
300
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
430
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
580
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
850
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
760
UICollectionView Compositional Layout
usamik26
0
920
Coding Swift with Visual Studio Code and Docker
usamik26
0
630
Swift Extension for Visual Studio Code
usamik26
2
1.2k
Other Decks in Programming
See All in Programming
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
180
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.2k
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
140
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
Event is what happens
moro
2
4.6k
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
230
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
320
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
260
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.1k
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.1k
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
230
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
420
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Building Adaptive Systems
keathley
44
3.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
610
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
560
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Designing Powerful Visuals for Engaging Learning
tmiket
1
650
Amusing Abliteration
ianozsvald
1
390