bind
bind copied to clipboard
Design a `bind.json` file format allowing to create full-featured iOS/Android extensions for Haxe
The idea would be to create a bind.json
file that provides all required information to actually make and iOS
/Android
extension work with Haxe
.
For instance, on iOS
, it would allow to specify:
-
Objective-C
/Swift
files that are exposed toHaxe
- A
podspec
file (relies on Cocoapods) allowing to include and configure everything needed oniOS
side of things
On Android
, it would allow to specify similar informations:
-
Java
files that are exposed toHaxe
-
Android
dependencies it may need (relies onGradle
dependency system, acceptsjcenter
libs) - An Android Studio project (or built AAR) dependency that will be included in final app
I would make it possible to run a single call of bind
utility to make an iOS
/Android
extension work with various build systems.
It would be possible to generate a lime
/openfl
-compatible include.xml
file if lime
can handle bind
requirements (Xcode workspaces with Cocoapods dependencies, Gradle AAR/jcenter dependencies).
Incredible work on this quite impressive.