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
130
BitriseでmacOSアプリをビルドする / Build macOS apps with Bitrise
iseebi
1
720
iOS/Androidアプリ転送ツール TransporterPadの紹介
iseebi
0
6k
Xamarinアプリとプッシュ通知
iseebi
2
1.6k
Apple Developer Enterprise Program でどこまでいけるのか
iseebi
0
730
ReactiveProperty を使ったアプリの設計に Realm Xamarin を組み合わせる
iseebi
0
610
ReactiveProperty で Xamarin アプリの作り方が変わった
iseebi
3
1.6k
600件のPull RequestからみたXamarinのはまりどころ
iseebi
3
4.1k
XamarinでPDFを作る
iseebi
1
1.7k
Other Decks in Programming
See All in Programming
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
受け取る人から提供する人になるということ
little_rubyist
0
240
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
690
Contemporary Test Cases
maaretp
0
140
Jakarta EE meets AI
ivargrimstad
0
200
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
CSC509 Lecture 12
javiergs
PRO
0
160
Outline View in SwiftUI
1024jp
1
330
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
890
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
How to train your dragon (web standard)
notwaldorf
88
5.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
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 ग़ͯ͘ΔίʔυͷΩϞ͞ʹର͢Δ༰͕͞ඞཁɻ