Skip to content

Instantly share code, notes, and snippets.

View yorkepb's full-sized avatar

iYrke yorkepb

  • The New York Times
  • Upstate, NY
View GitHub Profile

Keybase proof

I hereby claim:

  • I am yorkepb on github.
  • I am yorkepb (https://keybase.io/yorkepb) on keybase.
  • I have a public key ASAN2OiYRILjjrFrWSkloyTBhcsRD6A4gGy7amgCP0u9FAo

To claim this, I am signing this object:

@yorkepb
yorkepb / FeatureFlag.swift
Last active July 6, 2017 15:15
Simple FeatureFlagging
typealias FlagData = (default: Bool, description: String)
/// To add a feature flag, add the case and then add the case in `flagData`
public enum FeatureFlag: String {
case interactiveNotification
case someOtherCoolFeature
fileprivate var flagData: FlagData {
switch self {