Created
July 15, 2017 08:16
-
-
Save yoxisem544/8bd6087cd02c8998cf6fca1e5d2cd0d7 to your computer and use it in GitHub Desktop.
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
import Foundation | |
final public class Release { | |
// Add "-D DEBUG" to other swift flag in Build Settings | |
// ONLY in Debug not in Release!!!! | |
#if DEBUG | |
public static let mode = false | |
#else | |
public static let mode = true | |
#endif | |
private init() { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment