Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Hijack CodeGenerationParticipant and @AndroidJsonized to generate swift code #133

Open
Buggaboo opened this issue Jan 18, 2017 · 1 comment

Comments

@Buggaboo
Copy link
Contributor

Buggaboo commented Jan 18, 2017

Hi,

I was thinking about our @AndroidJsonized annotation and how to reuse the effort to generate the same thing (JSON models) for iOS/swift. Short of building a whole transpiler for Xtend to Swift, I decided to leverage the class CodeGenerationParticipant (4th phase) for this purpose.

I plan on not doing it directly from the Xtendroid project, but from a different project extending Xtendroid from a gradle point of view; this requires some settings.gradle and compile(':Xtendroid') magic, and plain ol' java inheritance.

Ideas? Comments?

@tobykurien
Copy link
Owner

Good luck 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants