MZCoreDataBrowser 1.1.1

MZCoreDataBrowser 1.1.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2016

Maintained by Mat Trudel.



MZCoreDataBrowser provides a super quick way to visualize and navigate your Core Data models. It is designed to be used within a debug / developer menu in an application to give you easy and deep visibility into the state of your model data. It's dead-simple to integrate, and automatically discovers all entities and objects within your Core Data stack.

Usage

MZCoreDataBrowser is designed to be trivial to integrate with your application. In virtually all cases, all you need to do is instantiate an instance of MZCoreDataBrowserViewController and set its context property to be the MOC you wish to browse. It's equally happy being instantiated via storyboards or code. Something like the following is all you typically need:

    MZCoreDataBrowserViewController *browser = [[MZCoreDataBrowserViewController alloc] initWithManagedObjectContext:self.context];
    UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:browser];
    [self presentViewController:navController animated:YES completion:nil];

To see an example of storyboard integration, check out the Example project.

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

Requirements

At least iOS 7 and ARC is required.

Installation

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

pod "MZCoreDataBrowser"

Author

Mat Trudel, [email protected]

License

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