sej

SEJSONViewController

A view controller that allows you to browse the contents of JSON file.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

44

Maintenance

Last Commit

7yrs ago

Contributors

3

Package

Dependencies

0

License

MIT

Categories

Readme

SEJSONViewController Build Status

Easily browse the contents of JSON file.

SEJSONViewController is tested on iOS 5 and requires ARC. Released under the MIT license.

Example

Screenshot

Open up the included Xcode project for an example app and the tests.

Usage

    // Initialize the view controller
    SEJSONViewController * jsonViewController = [[SEJSONViewController alloc] init];

    // Read the JSON data
    id data = [NSJSONSerialization JSONObjectWithData:[NSData dataWithContentsOfURL:[[NSBundle mainBundle] URLForResource:@"data" withExtension:@"json"]] options:NSJSONReadingAllowFragments error:nil];
    
    // set the data to browse in the controller
    [jsonViewController setData:data];
    
    // display it inside a UINavigationController
    [[UINavigationController alloc] initWithRootViewController:jsonViewController ];

See the header for full documentation.

Installation

Simply add the files in the SEJSONViewController.h and SEJSONViewController.m to your project or add SEJSONViewController to your Podfile if you're using CocoaPods.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100