restarone / violet_rails_ios_client

0 stars 3 forks source link

dynamically set Violet Rails Root #2

Open donrestarone opened 2 years ago

donrestarone commented 2 years ago

currently its hard coded to violet.restarone.solutions -- we need to make it flexible so we can build apps for any Violet Rails endpoint.

requirements

  1. Define the VioletRailsAppRoot variable once and use it throughout the app. This variable should be clear and easy to change for engineers forking this repository to build a Violet Rails iOS app a different Violet Rails web app. (eg: using this same code base to launch an app that connects to restarone.com instead of violet.restarone.solutions)
  2. Retain the hard-coded bottom nav links (home, blog, forum), but extract it to a variable, reuse it throughout the app and allow it to be easily changed. (eg: adding another tab/changing the tabs should be easy as changing this variable).