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.6k
サーバーレスクイックスタート: 手を動かしながら学ぶサーバーレスはじめの一歩 / 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
300
[SOCIAL FIGHTER AWARD#1] Smart Class Room
ketancho
1
3.1k
明日からできる!組織の「心理的安全性」を高める14の方法
ketancho
2
8.6k
Other Decks in Programming
See All in Programming
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
170
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
php-conference-japan-2024
tasuku43
0
240
CSC305 Lecture 26
javiergs
PRO
0
140
Refactor your code - refactor yourself
xosofox
1
260
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
440
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
4
1.1k
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
From Translations to Multi Dimension Entities
alexanderschranz
2
130
Featured
See All Featured
Optimizing for Happiness
mojombo
376
70k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Gamification - CAS2011
davidbonilla
80
5.1k
It's Worth the Effort
3n
183
28k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
A Modern Web Designer's Workflow
chriscoyier
693
190k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Docker and Python
trallard
42
3.1k
Unsuck your backbone
ammeep
669
57k
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ʢΩϡʔͷதͷ࠷৽ͷ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