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

Use SwiftGen for strings #1361

Open
Kharchevskyi opened this issue Feb 3, 2022 · 0 comments
Open

Use SwiftGen for strings #1361

Kharchevskyi opened this issue Feb 3, 2022 · 0 comments
Milestone

Comments

@Kharchevskyi
Copy link
Contributor

What do you think about using SwiftGen in the project?
This tool will automatically generate swfit type safe code for strings.

https://github.com/SwiftGen/SwiftGen

* Avoid any risk of typo when using a String
* Free auto-completion
* Avoid the risk of using a non-existing asset name
* All this will be ensured by the compiler and thus avoid the risk of crashing at runtime.

Besides that it would be easier during code review to make sure all strings are localized.
@sosnovsky

Originally posted by @Kharchevskyi in #956 (comment)

@Kharchevskyi Kharchevskyi self-assigned this Feb 3, 2022
@tomholub tomholub added this to the Later milestone Apr 9, 2022
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