-
-
Save JaleelNazir/fd2c768b3a01b544c3949000bc66755d to your computer and use it in GitHub Desktop.
iOS / Swift - Base url class for getting from environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BaseURL { | |
class func getFromEnvironment() -> String { | |
#if DEBUG | |
return "http://192.168.1.126" | |
#else | |
return "https://judgecardx.com" | |
#endif | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment