GDInspect is the runtime class/object inspecting category built on top of the NSObject class.
CocoaPods is the recommended way to add GDInspect to your project.
- Add a pod entry for GDInspect to your Podfile
pod 'GDInspect'
- Install the pod(s) by running
pod install
. - Include GDInspect wherever you need it with
#import "NSObject+Inspect.h"
.
Alternatively you can directly add the NSObject+Inspect.h
and NSObject+Inspect.m
source files to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, then drag and drop
NSObject+Inspect.h
andNSObject+Inspect.m
onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. - Include GDInspect wherever you need it with
#import "NSObject+Inspect.h"
.
Apache. See LICENSE
for details.