Created
October 30, 2014 22:07
-
-
Save KrauseFx/2f906be0fbee1520f20d to your computer and use it in GitHub Desktop.
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
[_writeQueue addOperationWithBlock:^{ | |
[_writeQueueLock lock]; | |
[_queue inDatabase:^(FMDatabase *db) { | |
if (![db executeUpdate:@"..." withArgumentsInArray:...]) { ... } | |
}]; | |
[_writeQueueLock unlock]; | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment