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
FlutterにiOS 14などの新機能を取り込むには
Search
Shotaro Tao
December 21, 2020
Programming
2
900
FlutterにiOS 14などの新機能を取り込むには
Flutter × Kotlin Multiplatform by CyberAgent 2020/12/21
Shotaro Tao
December 21, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
2
7.8k
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
2.1k
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
230
DMMオンラインサロンアプリのSwift化
hayatan
0
230
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
800
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
770
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
令和7年版 あなたが使ってよいフロントエンド機能とは
mugi_uno
12
5.9k
Scaling your build logic
antalmonori
1
130
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
410
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
6
1.5k
Featured
See All Featured
Done Done
chrislema
182
16k
Become a Pro
speakerdeck
PRO
26
5.1k
Scaling GitHub
holman
459
140k
How GitHub (no longer) Works
holman
312
140k
Navigating Team Friction
lara
183
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Mobile First: as difficult as doing things right
swwweet
222
9.1k
Making Projects Easy
brettharned
116
6k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Fireside Chat
paigeccino
34
3.2k
Transcript
Shotaro Tao 2020-12-21 Flutter ʹ iOS 14 ͳͲͷ৽ػೳΛऔΓࠐΉʹ Flutter ×
Kotlin Multiplatform by CyberAgent
# ՝ ωΠςΟϒίʔυΛΘͣʹΞϓϦ։ൃ͕Ͱ͖ΔݴޠΛਓʹקΊΔͱ • ͑ɺUIͬͯͲ͏ͳΔͷʁ • ػೳ੍͕ݶ͞Εͦ͏ • iOSɾAndroidʹग़Δ৽͍͠ػೳऔΓೖΕ͍ͨ
# MethodChannelɺEventChannel State Flutter app (client) AppDelegate iOS host FlutterViewController
iOSͷAPI ଞͷϥΠϒϥϦͷAPI ʢCocoapodsܦ༝ͳͲʣ MethodChannel FlutterMethodChannel
σʔλͷड͚͠ StandardMessageCodec Dart null bool Int double String List Map
Swift nil Bool Int Double String Array Dictionary Kotlin null Boolean Int Double String List HashMap MessageCodec ByteDataΛݩʹΤϯίʔυͱσίʔυΛߦ͏ϝιουΛ࣮
MethodChannelɺEventChannelͷ͍ํ
MethodChannelɺEventChannelͷ͍ํ
MethodChannelɺEventChannelͷ͍ํ
ύοέʔδ
ύοέʔδ
ύοέʔδ
ύοέʔδ
ύοέʔδ
·ͱΊ • MethodChannelEventChannelΛར༻͢Δ͜ͱͰσʔλͷΓͱΓ͕ग़དྷΔ • ௨ৗͷΞϓϦͰར༻͢Δ༷ͳҐஔใͷऔಘɺσόΠεใͷऔಘɺϩʔΧ ϧετϨʔδͷσʔλͷอଘɺϒϥβͷදࣔͳͲϥΠϒϥϦͱͯ͠ެ ։͞Ε͍ͯΔ
App ClipsɺWidgets (iOS 14) • ωΠςΟϒͰ࣮ͯ͠ɺσʔλͷΓͱΓ͚ͩMethodChannel EventChannelΛར༻͢Δ • ϝΠϯΞϓϦͱผʹFlutterEngineFlutterViewControllerΛ༻ҙͯ͠Flutter Ͱ࣮͢Δ
FlutterͷΈ Flutter Engine Dart Framework Platform-Speci f i c
App Clips 10MB 10.6MB <
App Clips
Widgets (iOS 14) Widgets Flutter shared_preferences ߋ৽(MethodChannel)