title: Get Sqlite database from NSData instead of file
body: <p>I used to use FMDB to read sqlite data from a file. </p>
  
  <pre><code>FMDatabase *db = [FMDatabase databaseWithPath:filePath];
  </code></pre>
  
  <p>Now I want to encrypt the file. When the app opens, it will decrypt the file into NSData object. </p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
  
    NSData *decryptedData = [self getDecryptedData]; 
  
   return YES;
  
  }
  </code></pre>
  
  <p>Is there any way I can get FMDatabase object from NSData ? I don't want to save NSData to a file because it is decrypted. </p>