Created
April 8, 2014 10:50
-
-
Save djromero/10109119 to your computer and use it in GitHub Desktop.
Enable Core Data debugging with Pony Debugger.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Xcode configuration | |
OTHER_CFLAGS=-I$(HOME)/Library/PonyDebugger/include -DWITH_PONYD=1 | |
OTHER_LDFLAGS=-L$(HOME)/Library/PonyDebugger -lSocketRocket -lPonyDebugger -licucore -ObjC | |
*/ | |
#if WITH_PONYD | |
#import <PonyDebugger/PonyDebugger.h> | |
#endif | |
#if WITH_PONYD | |
PDDebugger *debugger = [PDDebugger defaultInstance]; | |
[debugger enableCoreDataDebugging]; | |
[debugger addManagedObjectContext:<#MOC#>]; | |
[debugger autoConnect]; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment