FMDB, GCD vs NSOperationQueue
问题 I have a lot of data I need to insert in a two tables for my sqlite database. I want to put this work in the background. My flow basically goes like this: (pseudocode) while (files in database are not parsed) { if (fileType == type1) { parseType1; showProgress; } else { parseType2; showProgress; } } I got the most current version of FMDB and I thought I could enqueue my data like this: FMDatabaseQueue *queue = [FMDatabaseQueue databaseQueueWithPath:[self databasePath]]; BOOL