iltsarev / Feature-Toggling

Lightweight iOS feature toggling system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Platform Swift 5.0 GitHub license Build Status

Overview

It's a lightweight example of iOS feature toggling system inspired by Martin Fowler. If you have any questions you can ask me in telegram.

You can also watch the video of my speech on YouTube (in Russian).

Usage

Initialize feature service somewhere in your code:

private let featureService = FeaturesService()

Get features from backend:

featureService.getFeatures {}

Check if feature is enabled:

if featureService.enabled(.myFeature) {
  // doSomething
}

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Lightweight iOS feature toggling system

License:MIT License


Languages

Language:Swift 100.0%