Created
April 19, 2016 01:13
-
-
Save rajohns08/a45d12cccce6b86e30d8e701d28c6ce0 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