/Konfig

Inspired by Matt Thompson's GroundControl, Konfig provides a JSON based alternative

Primary LanguageObjective-CMIT LicenseMIT

Konfig

Inspired by Matt Thompson's GroundControl, Konfig provides a JSON based alternative

Installation

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

pod "Konfig"

Usage

Loading and storing values:

NSURL * url = [NSURL URLWithString:@"http://example.com/strings.json"];
[[NSUserDefaults standardUserDefaults]registerKonfigWithURL:url];

Example Data

{
    "my_string": "this is my custom string provided via Konfig",
    "my_number": 256,
    "my_bool": false,
    "my_array": [ 123, 456, 789 ],
    "my_dict": {
        "a": "foo",
        "b": "bar"
    }
}

Author

Khalid Mills, mustkre8@gmail.com

License

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