Created
July 12, 2011 09:26
-
-
Save sadatrahman/1077676 to your computer and use it in GitHub Desktop.
CoreData SQL 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
+ (void)installSQLiteDebugger | |
{ | |
#ifdef DEBUG | |
[NSClassFromString(@"NSSQLCore") performSelector:@selector(setDebugDefault:) withObject:[NSNumber numberWithBool:YES]]; | |
#endif | |
} |
Fixed. Good pickup there, Tony. :-)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice stuff! Is there any reason that you've implemented this as an instance method and not a class method?