Skip to content

Instantly share code, notes, and snippets.

@albertodebortoli
Created November 26, 2019 10:56
Show Gist options
  • Save albertodebortoli/1cc8afb80c2b46a42a4bee78e784de50 to your computer and use it in GitHub Desktop.
Save albertodebortoli/1cc8afb80c2b46a42a4bee78e784de50 to your computer and use it in GitHub Desktop.
used by 'A Smart Feature Flagging System for iOS' article on Medium
@TweakProperty(fallbackValue: <#default_value#>,
feature: <#feature_key#>,
variable: <#variable_key#>,
tweakManager: tweakManager)
var isFeatureXEnabled: Bool
@TweakProperty(fallbackValue: <#default_value#>,
feature: <#feature_key#>,
variable: <#variable_key#>,
tweakManager: tweakManager)
var publicApiHost: String
@OptionalTweakProperty(fallbackValue: <#default_value_or_nil#>,
feature: <#feature_key#>,
variable: <#variable_key#>,
tweakManager: tweakManager)
var publicApiPort: Int?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment