Skip to content

Instantly share code, notes, and snippets.

@yoxisem544
Created July 15, 2017 08:16
Show Gist options
  • Save yoxisem544/8bd6087cd02c8998cf6fca1e5d2cd0d7 to your computer and use it in GitHub Desktop.
Save yoxisem544/8bd6087cd02c8998cf6fca1e5d2cd0d7 to your computer and use it in GitHub Desktop.
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