title: Conversion of NSData to int64 in Objective C
body: <p>One of my application's DB is already written and used by other platforms.I have to save an image as int64 data type as the attribute is having int64 as the type.How can i convert image to int64 and retrieve it back from core data?Or should i convert image to NSData first and then to int64?
   This is what i tried</p>
  
  <p><code>[attributes setObject:sigPngData forKey:@"key"];
   [CoreDataHelper insertORUpdateRecord:@"entityName"  usingPredicate: nil withProperties: nil orderBy: nil havingDistinctResult: YES attributesToBeUpdated: attributes shouldInsertNewRecord: YES];
  </code></p>