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.2k
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
730
iOS/Androidアプリ転送ツール TransporterPadの紹介
iseebi
0
6k
Xamarinアプリとプッシュ通知
iseebi
2
1.6k
Apple Developer Enterprise Program でどこまでいけるのか
iseebi
0
740
ReactiveProperty を使ったアプリの設計に Realm Xamarin を組み合わせる
iseebi
0
610
ReactiveProperty で Xamarin アプリの作り方が変わった
iseebi
3
1.6k
600件のPull RequestからみたXamarinのはまりどころ
iseebi
3
4.2k
XamarinでPDFを作る
iseebi
1
1.7k
Other Decks in Programming
See All in Programming
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
Zoneless Testing
rainerhahnekamp
0
120
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
390
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
140
Refactor your code - refactor yourself
xosofox
1
260
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
200
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
250
快速入門可觀測性
blueswen
0
360
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
Featured
See All Featured
Building Applications with DynamoDB
mza
91
6.1k
4 Signs Your Business is Dying
shpigford
181
21k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Site-Speed That Sticks
csswizardry
2
190
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Automating Front-end Workflow
addyosmani
1366
200k
Done Done
chrislema
181
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
A Tale of Four Properties
chriscoyier
157
23k
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 ग़ͯ͘ΔίʔυͷΩϞ͞ʹର͢Δ༰͕͞ඞཁɻ