Inspired by Matt Thompson's GroundControl, Konfig provides a JSON based alternative
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Konfig
Project
.gitignore
CHANGELOG.md
Konfig.podspec
LICENSE
README.md
Rakefile

README.md

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.