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
Yet Another Cross Platform Development
Search
Nobuhiro Ito
August 26, 2015
Programming
0
4.1k
Yet Another Cross Platform Development
2015/08/26 関西モバイルアプリ研究会 #5 (Kyoto)
Sample:
https://github.com/iseebi/J2ObjCSample
Nobuhiro Ito
August 26, 2015
Tweet
Share
More Decks by Nobuhiro Ito
See All by Nobuhiro Ito
Bitriseで本をビルドする / Build a book with Bitrise
iseebi
0
120
BitriseでmacOSアプリをビルドする / Build macOS apps with Bitrise
iseebi
1
690
iOS/Androidアプリ転送ツール TransporterPadの紹介
iseebi
0
5.9k
Xamarinアプリとプッシュ通知
iseebi
2
1.6k
Apple Developer Enterprise Program でどこまでいけるのか
iseebi
0
720
ReactiveProperty を使ったアプリの設計に Realm Xamarin を組み合わせる
iseebi
0
590
ReactiveProperty で Xamarin アプリの作り方が変わった
iseebi
3
1.6k
600件のPull RequestからみたXamarinのはまりどころ
iseebi
3
4.1k
XamarinでPDFを作る
iseebi
1
1.6k
Other Decks in Programming
See All in Programming
null or undefined
susisu
23
6.2k
The Shape of a Service Object
inem
0
500
オートマトン学習しろ / Do automata learning
makenowjust
3
120
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
370
サーバーレスで負荷試験!Step Functions + Lambdaを使ったk6の分散実行
shuntakahashi
6
1.5k
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
290
仮想ファイルシステムを導入して開発環境のストレージ課題を解消する
segadevtech
2
510
事業フェーズの変化に対応する 開発生産性向上のゼロイチ
masaygggg
0
180
RAGの回答精度評価用のQAデータセットを生成AIに作らせた話
kurahara
0
240
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
240
Our Websites Need a Lifestyle Change, Not a Diet
ryantownsend
0
140
実践 Advanced CallKit 〜快適な通話の実現に向けて〜
mot_techtalk
3
130
Featured
See All Featured
Building Your Own Lightsaber
phodgson
101
6k
A Tale of Four Properties
chriscoyier
155
22k
What's new in Ruby 2.0
geeforr
340
31k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
38
9.2k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
How to train your dragon (web standard)
notwaldorf
85
5.6k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Mobile First: as difficult as doing things right
swwweet
221
8.8k
The Mythical Team-Month
searls
218
43k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
Transcript
:FU"OPUIFS $SPTT1MBUGPSN%FWFMPQNFOU !JTFFCJ ؔϞόΠϧΞϓϦݚڀձ 8FE
!JTFFCJ /PCVIJSP*UP 'FOSJS*OD .PCJMF"QQMJDBUJPO&OHJOFFS IUUQJTFFCJIBUFOBCMPHDPN
ຊൃച
"OESPJEओମͷ ΫϩεϓϥοτϑΥʔϜ ωλΓ·͢
None
ͷ͠·ͤΜ
None
+0CK$ w +BWBΛ0CKFDUJWF$ʹม͢Δɻ w +BWBΛ0CKFDUJWF$ʹม͢ΔίϚϯυͱɺ 0CKFDUJWF$༻+3&ΤϛϡϨʔγϣϯϥΠϒϥϦͷ ηοτɻ w (PPHMFɻ*OCPYͱ͔ͰΘΕ͍ͯΔɻ
͔͍ͭͲ͜Ζ w Ξϗ΄ͲෳࡶͳॲཧΛJ04"OESPJEͰ͋Θ͍ͤͨ w ͢Ͱʹ"OESPJE൛͕͋Δ w "1*·ΘΓ͕ผग़͠Ͱ͖Δײ͡ʹͳͬͯΔ w ΫϩεϓϥοτϑΥʔϜ։ൃ͍͚ͨ͠Ͳ ͕ۚͳ͍ɾਓ͕͍ͳ͍
'3&&
͔͍͔ͭͨ w "OESPJEͱJ04ͷϓϩδΣΫτΛ ૬ରύεͰࢀরͰ͖ΔҐஔʹஔ w "OESPJEଆͰ(SBEMFʹՃ͢Δ Ξϊςʔγϣϯ w J04ଆͰ$PDPB1PETͰΠϯετʔϧ͢Δ
ίϚϯυࠐΈͰ߱ͬͯ͘Δ w J04ଆʹม༻ͷλʔήοτΛՃ͢Δ
ϓϩδΣΫτஔ
"OESPJEଆϥΠϒϥϦՃ compile 'com.google.j2objc:j2objc-annotations:0.1'
ίʔυॻ͘ มॲཧରΛ ύοέʔδʹ͓ͯ͘͠ Ϋϥεϝιουʹ มޙͷ໊લΛ !0CKFDUJWF$/BNFͰ ࢦఆՄೳ
$PDPB1PETΠϯετʔϧ platform :ios pod 'J2ObjC', :git => 'https://github.com/goodow/j2objc.git' ຊՈʹ͋Δͷݹ͍
Ҏ߱Ͱͳ͍ͱ!0CKFDUJWF$/BNF͕Πέͯͳ͍
"HHSFHBUFλʔήοτՃ
CLASS_PATH=../android/app/src/main/java CONVERT_CODE_BASE_PATH=$CLASS_PATH/net/iseteki/j2objcsample/library OUTPUT_CODE_PATH=ConvertedCodes cd $SRCROOT find $CONVERT_CODE_BASE_PATH -not -name 'platform'
-type d -print0 |\ while IFS= read -r -d $'\0' line; do Pods/J2ObjC/dist/j2objc \ --doc-comments \ --no-package-directories \ --strip-reflection \ -use-arc \ -sourcepath $CLASS_PATH \ -d $OUTPUT_CODE_PATH $line/*.java done --doc-comments ɹˠ+BWB%PDΛม --no-package-directories ɹˠσΟϨΫτϦߏΛϑϥοτʹ --strip-reflection ɹˠϦϑϨΫγϣϯ༻ͷίʔυΛੜ͠ͳ͍ -use-arc ɹˠ"3$Λ͏ -sourcepath ɹˠιʔεશମͷύε -d ɹˠग़ྗઌ
None
None
+0CK$ͷΠέͯͳ͍ͱ͜ w ग़ͯ͘Δ0CKFDUJWF$ͷίʔυ͕ΘΓͱ೦ɻ w -JTU5ͱ͔͕+BWB6UJM-JTUͱ͔Ͱग़ͯ͘Δ w தݟͨΒෛ͚ w 4XJGUϒϦοδ͠Α͏ͱͨ͠ΒखݩͰ͏·͍͔ͣ͘ w
4XJGUͰ͏ࣄྫ͋ΔΈ͍ͨͳΜ͚ͩͲʜ
ΫϩεϓϥοτϑΥʔϜൺֱ 9BNBSJO 3PCP7. +0CK$ Α͍ 8JOEPXTΧόʔՄೳ $FS͕͏Ε͍͠ ࣮͋Δ 9BNBSJO΄Ͳߴ͘ͳ͍ ,PUMJO͍͚Δ
ϝϞϦޮྑ͍ ͓͔͔ۚΒͳ͍ ม෦Ҏ֎௨ৗ։ൃՄ ਓతϦιʔε֬อ༰қ ࣮͋Δ *OCPY Α͘ͳ͍ ༗ྉɾ݁ߏߴ͍ ΤϯδχΞ֬อݫ͍͠ ʁ ߴ͘ͳ͍ʹ͠Ζ༗ྉ ࣮͕ඍົ +BWB ग़ͯ͘Δίʔυ͕ΞϨ
·ͱΊ w +0CK$ࠓͷͱ͜ΖݱͰ࠷ಋೖ͍͢͠ ΫϩεϓϥοτϑΥʔϜ։ൃٕज़ͩͱࢥ͏ w ͓͔͔ۚΒͳ͍ɺ࣮͋ΔɺΤϯδχΞ֬อ༰қ w ग़ͯ͘ΔίʔυͷΩϞ͞ʹର͢Δ༰͕͞ඞཁɻ