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

Swift Code Integration and Option #78

Closed
jhb563 opened this issue Jun 20, 2016 · 0 comments
Closed

Swift Code Integration and Option #78

jhb563 opened this issue Jun 20, 2016 · 0 comments

Comments

@jhb563
Copy link
Owner

jhb563 commented Jun 20, 2016

The owa gen command should accept a new option --swift. When run with the swift option, Swift code should be generated instead of Objective C code. When run without this option, Objective C code should be generated.

In order to do this, OWALib.hs will need to be refactored to hook into the Swift generation and printing methods resulting from the appropriate tickets (Issues 73-77).

Note there should be no change in behavior for generating the Localizable.string file. While we call the module OWAStringsObjc, the generated code works perfectly well with Swift code as well.

Additionally, regarding #66, we should track both the latest code generation time for Objective C and Swift. When the user requests Swift code be generated, the generation should happen, even if the relevant files have not been updated since the last Objective C code generation, and vice versa.

@jhb563 jhb563 changed the title Swift code Integration and Option Swift Code Integration and Option Jun 20, 2016
@jhb563 jhb563 removed the Blocked label Oct 27, 2016
@jhb563 jhb563 added the Assigned label Nov 5, 2016
@jhb563 jhb563 self-assigned this Nov 5, 2016
@jhb563 jhb563 closed this as completed Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant