iphone - coredata is best? -
coredata better fmdb?can maintain primary key in core data? or other method achive instead of using primarykey in core data?any tutorial please?
i don't think these 2 things analagous. fmdb merely wrapper around native sqlite apis, coredata object persistence framework sqlite 1 possible persistent storage type.
check out coredata programming guide apple: https://developer.apple.com/library/ios/#documentation/cocoa/conceptual/coredata/cdprogrammingguide.html
as guide developing coredata on mac: https://developer.apple.com/macosx/coredata.html
coredata not offer primary key uniquing though, typically uniquing handled application code. fmdb, or native sqlite api's might better depending on specific requirements.
Comments
Post a Comment