Inspired by Matt Thompson's GroundControl, Konfig provides a JSON based alternative
Konfig is available through CocoaPods, to install it simply add the following line to your Podfile:
pod "Konfig"
Loading and storing values:
NSURL * url = [NSURL URLWithString:@"http://example.com/strings.json"];
[[NSUserDefaults standardUserDefaults]registerKonfigWithURL:url];
{
"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"
}
}
Khalid Mills, mustkre8@gmail.com
Konfig is available under the MIT license. See the LICENSE file for more info.