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
watchOS 開発ことはじめ 〜ハッカソンで初めてwatchOS開発した話〜 @AKIBA....
Search
ketancho
September 27, 2016
Programming
1
1.8k
watchOS 開発ことはじめ 〜ハッカソンで初めてwatchOS開発した話〜 @AKIBA.swift#5
ketancho
September 27, 2016
Tweet
Share
More Decks by ketancho
See All by ketancho
CAM_コーチング基礎クラス_最終プレゼン_20230225 / CAM_Kiso_20230225
ketancho
0
95
AWS 上で静的な Web サイトを公開しよう!ハンズオン / AWS-S3-Static-Web-Hosting-Hands-on
ketancho
2
1.5k
サーバーレスクイックスタート: 手を動かしながら学ぶサーバーレスはじめの一歩 / Serverless Quick Start hands-on
ketancho
5
15k
20190209_sfa-u-18_public
ketancho
0
500
20190205_SORACOM-UG_CIVICTECH-with-the-button.pdf
ketancho
0
290
[SOCIAL FIGHTER AWARD#1] Smart Class Room
ketancho
1
3.1k
明日からできる!組織の「心理的安全性」を高める14の方法
ketancho
2
8.5k
Other Decks in Programming
See All in Programming
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
100
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
100
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
920
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Building an army of robots
kneath
302
43k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
A better future with KSS
kneath
238
17k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Transcript
A K I B A . S W I F
T # 5 ˏketancho watchOS ։ൃ͜ͱ͡Ί ʙϋοΧιϯͰॳΊͯwatchOS։ൃͨ͠ʙ
ࣗݾհ !LFUBODIP 4*FS ɹɹ8FC"84ωΠςΟϒΞϓϦ ։ൃྺ ɹɹ"84ɿd ɹɹJ04ྺɿϲ݄ ɹɹXBUDI04ྺɿؒ ɹɹˢڪΕଟ͍ͷͰ͕͢ɺࠓ͜ͷΛ͠·͢ʂ ⚽
*XBUDI04ΞϓϦΛ։ൃͨ͜͠ͱ͋Δํʁ
ࠓ͓͢͠Δ͜ͱ ɾXBUDI04։ൃͨ͜͠ͱ͕ͳ͍ํ͚ʹɺ ɹ։ൃͷҰ࿈ͷྲྀΕΛհ͍ͨ͠Ͱ͢ɻ ɾࣄલʹࢿྉΛ্͍͛ͯΔͷͰɺ ɹखݩͷ9DPEFͰૢ࡞Λ͠ͳ͕Βฉ͍͍͍ͯͨͩͯ ɹΑ͍͔ͱࢥ͍·͢ɻ
࡞ͬͨͷ ɾϥΠϑϩάΛαʔόʹૹΔΞϓϦ ɾJ04ܦ༝Ͱ"1*Λݺͼग़͠ɺ ɹ%#ʹϥΠϑϩάΛ֨ೲ ɾڥ ɹɾXBUDI04J04 ɹɾ9$PEF4XJGU ͱ͍͏ͱฉ͍͍͑͜ͷͰ͕͢ɺ ݁ہJ1IPOFͰͰ͖Δ͜ͱΛ8BUDIͰߦ͑ΔΑ͏ʹ͚ͨͩ͠ 8BUDIͳΒͰͷΞϓϦΛ࡞Γ͍ͨɻ
جຊͷΩ ɾXBUDI04ΞϓϦJ04ΞϓϦͱηοτͰಈ࡞͢Δ ɾJ1IPOFଆʹΞϓϦΛ࣮ػΠϯετʔϧ͢Δͱɺ ɹ"QQMF8BUDIଆʹΞϓϦ͕Πϯετʔϧ͞ΕΔ ͡Ίํ ɾJ04ΞϓϦϓϩδΣΫτΛ࡞ ɾ'JMF/FX5BSHFU ɹɹXBUDI04"QQMJDBUJPO8BUDI,JU"QQ
ը໘ͷछྨ ɾ*OUFSGBDF$POUSPMMFS ɹɹϝΠϯը໘ɻ ɹɹJ04ͱҧ͍ɺ੍Λ͚ͭͯVQEBUFͯ͠ɺͱ͍͏ྲྀΕͳ͠ ɾ/PUJpDBUJPO ɹɹJ1IPOFଆʹ௨͕དྷͨλΠϛϯάͰɺ8BUDIଆʹ௨ ɾ(MBODFT ɹɹΞϓϦͷαϚϦը໘ ɹɹΞϓϦͷૢ࡞Ͱ͖ͳ͍ ɾ$PNQMJDBUJPOT
ɹɹ࣌ؒʹ߹Θͤͯ࣌ܭͷจࣈ൫ʹ ɹɹใΛදࣔ
TXJGU ֤ը໘ͷಈ͖Λ࣮ 7JFX$POUSPMMFSTXJGUʹ૬ ΞϓϦىಈ࣌ͷಈ͖Λهड़ "QQ%FMFHBUFTXJGUʹ૬ /PUJpDBUJPOը໘ͷ࣮ (MBODFը໘ͷ࣮ $PNQMJDBUJPOTը໘ͷ࣮
௨৴ ɾ8BUDI$POOFDUJWJUZ'SBNFXPSL ɹɾ#BDLHSPVOEUSBOTGFST ɹɹɹσʔλΛΩϡʔʹೖΕͯૹ৴ɻλΠϛϯά04࣍ୈ ɹɹɾ6TFS*OGP5SBOTGFSʢΩϡʔʹೖΕͨͷશͯΛૹ৴ʣ ɹɹɾ"QQMJDBUJPO$POUFYUʢΩϡʔͷதͷ࠷৽ͷͷΛૹ৴ʣ ɹɹɾ'JMF5SBOTGFS ɹɾ*OUFSBDUJWFNFTTBHJOHˡࠓճͪ͜ΒΛ༻ ɹɹɹ໊લͷ௨Γɺଈ࣌ͷσʔλ࿈ܞʹ༻ɻ
*OUFSBDUJWFNFTTBHJOH ૹ৴ଆ ɹɾJNQPSU8BUDI$POOFDUJWJUZ ɹɾDMBTT%SVH*OUFSGBDF$POUSPMMFS8,*OUFSGBDF$POUSPMMFS 8$4FTTJPO%FMFHBUF\ ɹɾPWFSSJEFGVODXJMM"DUJWBUF \ TVQFSXJMM"DUJWBUF
JG 8$4FTTJPOJT4VQQPSUFE \ session = WCSession.defaultSession() session.delegate = self session.activateSession() } }
*OUFSBDUJWFNFTTBHJOH ૹ৴ଆʢଓ͖ʣ ɹɾMFUBQQMJDBUJPO%BUB<UBSHFU1BHFYYY BDUJPOYYY> TFTTJPOTFOE.FTTBHF BQQMJDBUJPO%BUB SFQMZ)BOEMFS\ @<4USJOH"OZ0CKFDU>
7PJEJO^ // ਖ਼ৗॲཧ FSSPS)BOEMFS\ FSSPS 7PJEJO ҟৗॲཧ ^ Ҿɺ ɹɾJ04ଆͷͲͷϖʔδʹ ɹɾͲͷΞΫγϣϯΛͯ͠΄͍͔͠ Λهࡌ͠·ͨ͠ɻϕετϓϥΫςΟεΛΓ͍ͨ
*OUFSBDUJWFNFTTBHJOH ड৴ଆ ɹɾJNQPSU8BUDI$POOFDUJWJUZ ɹɾDMBTT%SVH*OUFSGBDF$POUSPMMFS8,*OUFSGBDF$POUSPMMFS 8$4FTTJPO%FMFHBUF\ ɹɾPWFSSJEFGVODXJMM"DUJWBUF \ TVQFSXJMM"DUJWBUF
JG 8$4FTTJ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