MSVSettingBundleManager 0.1.2

MSVSettingBundleManager 0.1.2

Maintained by Serge Moskalenko.



  • By
  • Serge Moskalenko

MSVSettingBundleManager

CI Status Version License Platform

MSVSettingBundleManager makes it easy to read / set settings in the Settings Bundle engine and handle event settings changes.

Example

https://appetize.io/app/xd75be4jgh3469u67ug7ud72ym

Screen

To run the example project, clone the repo, and run pod install from the Example directory first.

Init with keys:

    var settings = MSVSettingManager(keys:["shape", "switch"])

Set value:

    settings["shape".intDef] = "star"

Get value:

    var shape = settings["shape".intDef]

Events on changing:

    settings.action(key: "shape") { value in
        if value is String {
            let shape = value as! String
            ...
            ...
        }
    }

Requirements

Installation

MSVSettingBundleManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'MSVSettingBundleManager'

Author

Serge Moskalenko, https://github.com/sergemoskalenko

License

MSVSettingBundleManager is available under the MIT license. See the LICENSE file for more info.