![CI Status](http://img.shields.io/travis/Mat Trudel/MZCoreDataBrowser.svg?style=flat)
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.
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.
At least iOS 7 and ARC is required.
MZCoreDataBrowser is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MZCoreDataBrowser"
Mat Trudel, [email protected]
MZCoreDataBrowser is available under the MIT license. See the LICENSE file for more info.