protect-earth / tree-tracker-ios

App for managing trees.
MIT License
13 stars 6 forks source link

Externalise constants in a plist file populated during build #73

Open allanlang opened 2 years ago

allanlang commented 2 years ago

Some constants may benefit from being externalised into a file which can be populated at build time, for example API domain and various tuning options for production. Consider using a .plist file which is written / updated by the defaults tool.

This article may be helpful: https://stackoverflow.com/a/71113568/2894501