Managing NSStoreType changes between debug and release builds

Posted by Eimantas on Stack Overflow See other posts from Stack Overflow or by Eimantas
Published on 2010-01-06T06:27:39Z Indexed on 2010/05/22 21:20 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

NSXMLTypeStore is used when starting Core Data backed application by default because it's good for debugging purposes. But practice dictates that developer should use either NSBinaryStoreType, NSInMemoryStoreType or NSSQLiteStoreType store types in release builds.

How do you manage changes between debug and release builds? I believe that changing store type from NSXMLTypeStore to, say, NSBinaryStoreType in code on each release is kinda cumbersome.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about core-data