Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Xamarin.Watchについて調べてみた(主にUI関係)
Search
arait
April 24, 2017
Programming
0
370
Xamarin.Watchについて調べてみた(主にUI関係)
「初心者歓迎XamarinのLT会!Xamarin入門者の集い #2」で発表した内容です。
arait
April 24, 2017
Tweet
Share
Other Decks in Programming
See All in Programming
Learning Ruby
okuramasafumi
5
370
Go1.22からの疑似乱数生成器について/go-122-pseudo-random-generator
convto
1
110
Sementic Kernelのネイティブ関数について
tomokusaba
0
780
UnityプログラミングバイブルR6号宣伝&Unity Logging小話
adarapata
0
110
とにかくHTTP3をライトニングに話す / Anyway, I'll talk to Lightning about HTTP3.
seike460
PRO
0
110
上手な探索的テストとその上達方法について
matsu802
1
430
RubyVM を PHP で実装する 〜Hello World を出力するまで〜
memory1994
PRO
1
460
マイクロサービスがほしいと思ったときに本当に必要だったもの〜なぜ人は共通基盤の夢を見るのか〜 / why microservice
77web
5
830
軽率にVue 3で リアルタイム3Dアプリを作れる ライブラリを作ってみた/vue-with-3d-app
drumath2237
3
1.1k
『データ可視化学入門』をPythonからRに翻訳した話(増強版)
bob3bob3
0
280
ADRを一年運用してみた/our_story_about_adr
hanhan1978
3
1.1k
Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
850
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
111
35k
RailsConf 2023
tenderlove
0
500
GitHub's CSS Performance
jonrohan
1023
450k
Code Reviewing Like a Champion
maltzj
512
39k
In The Pink: A Labor of Love
frogandcode
137
21k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Agile that works and the tools we love
rasmusluckow
323
20k
StorybookのUI Testing Handbookを読んだ
zakiyama
10
4.4k
Raft: Consensus for Rubyists
vanstee
130
6.2k
WebSockets: Embracing the real-time Web
robhawkes
59
6.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
930
Build The Right Thing And Hit Your Dates
maggiecrowley
23
1.9k
Transcript
2017/4/17 初心者歓迎XamarinのLT会!Xamarin入門者の集い #2 あらい Xamarin.Watchについて調べてみた (主にUI関係)
Apple Watch 2015/4 (初代) 発売 • Wi-Fi(802.11b/g/n 2.4GHz) • Bluetooth
4.0 • 心拍センサー • 加速度センサー • ジャイロスコープ • 環境光センサー • 防沫性能 • Apple Pay(アプリ内) • 感圧タッチ 2016/9 Series2 発売 初代の機能 + • 内蔵GPS、GLONASSおよびQZSS • 50メートルの耐水性能 • FeliCa
端末 画面サイズ [インチ] 解像度 [ピクセル] PPI Apple Watch 38mm 1.5
340 × 272 290 42mm 1.65 390 × 312 302 iPhone SE 4.0 1,136 × 640 326 7 4.7 1,334 × 750 326 7 plus 5.5 1,920 × 1,080 401 iPad mini 4 7.9 2,048 × 1,536 326 Pro(9.7インチ) 9.7 2,048 × 1,536 264 Pro(12.9インチ) 12.9 2,732 × 2,048 264 ディスプレイ比較
watchOS 3.0 でのUI関係の制約 • iOSとくらべて使用できるコントロールは少ない • いくつか同名のコントロールがあるけれど同ものではない ◦ 用意されているメソッドも少ない •
Watchだけのコントロールもある • サードパーティ製の文字盤は認められてない ◦ コンプリケーションという文字盤に情報を追加する仕組みがある
UI開発:Storyboard
Controls どちらでもControlsのもの iOSではViewのもの Watchだけのもの • Button • Label • Slider
• Switch • Image • Map • Picker • Table • Movie? • Date • Timer • Group • Separator • Activity Ring • Menu • MenuItem
Activity Ring • MOVE ◦ 消費カロリー • EXERCIZE ◦ 早歩き以上の運動をした時間
• STAND ◦ 立ち上がって1分以上身体を動かした時間がそ れまでに何回あったか
メニュー(感圧タッチ)
レイアウト:Watch Alignment : Horizontal Alignment : Vertical Size
ナビゲーション:ページベース カルーセル みたいな感じ
ナビゲーション:階層的 Master - Detail
まとめ • C#でApple Watchのアプリが作れる! • iOSアプリとくらべて制約は多い • ゲームを作るなら SpriteKit(2D) SceneKit(3D)