GitXplorerGitXplorer
s

iOS-J2ObjC-DisplayingBitmaps

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
7ddd82886a458c57d9572b56ccf571a96694fc67

Added 'J2ObjC' to the project name

ssfuku7 committed 8 years ago
Unverified
0c8056ecb275314cf0c8935efe312ccb2fb05a49

Update README.md

ssfuku7 committed 9 years ago
Unverified
54e02942d07847a215b4b05e19f2739673492d5c

Update README.md

ssfuku7 committed 9 years ago
Unverified
9b19a4b2ec3775319ccde544f12c04df0aa82c66

Update README.md

ssfuku7 committed 9 years ago
Unverified
66a8a090ca0e411289f76bfc84b060c9fa144975

Update build and run

ssfuku7 committed 9 years ago
Unverified
f4d71a6f99ee4f0a68ceedd8cebf1cb58caaa324

Update about licenses

ssfuku7 committed 9 years ago

README

The README file for this repository.

iOS-J2ObjC-DisplayingBitmaps

This project shows a sample to share code between Android application and iOS application with [J2ObjC] (https://github.com/google/j2objc) which is translation tool from Google.

License

See LICENSE.

And this project uses below projects with modifications, you can find software license in each projects

And this project links JRE emulation which is built with J2ObjC, see https://github.com/google/j2objc.

Build Requirements

Build and Run

  1. Build and install J2ObjC, see https://github.com/google/j2objc. Just do 'make dist'.
  2. Open project 'ios/CollectionView.xcodeproj' with Xcode
  3. Set 'j2ojc_distribution' variable.
  4. Open project 'CollectionView'
  5. Select 'Build Settings'
  6. Find 'j2ojc_distribution'
  7. Set 'j2ojc_distribution' as your J2ObjC distribution path.
  8. Push the 'build and run' button of Xcode

How to translate with J2ObjC

Translated codes are already included in this project. But you can try translation from Java to Objective-C with below steps.

$ cd android
$ git submodule init
Submodule 'android' (git@github.com:sfuku7/android-DisplayingBitmaps.git) registered for path '../android'
$ git submodule update
$ cd ../
$ J2OBJC_DISTRIBUTION=/path/to/j2objc/dist make