I have a large amount of data in the application that he needs to receive, but the application will never be changed. Currently, I use this data in other applications in JSON files and SQL databases, but none of them are very convenient for use in iOS.
I do not want to use CoreData, which provides a ton of unnecessary functionality and complexity.
Would it be a good idea to store data in a PropertyList file and build an accessor class? Are there any simple ways to enable SQLite without switching to a CoreData route?
plist, . Plist , , , plist, , .
, , SQL. " " SQL , Core Data, SQL-- API. , . SQL , . SQL Core Data, Core Data , SQL.
. . , Core Data , SQL. SQL , .
, SQL C, SQL. , , Apple Platforms, Core Data , , .
SQLite Core Data SQLite C API.
- , - SQLite. , .
, , , . SQLite ( ) , . , ( ) (, , , ), , .
. (99) ( , , ..), , SQLite , , CoreData.
""? ?
, JSON () plist , , , , . , , .
, , (NSDataReadingMapped a.k.a. NSMappedRead) . iOS (, .png, "other.artwork", ).
NSKeyedArchiver , NSCoding, plist, , .
Source: https://habr.com/ru/post/1755276/More articles:Why exactly is onFreeze () used? - functionDifference between UIView and UIControl when dragging inside UIScrollView - iphoneCompute a string as an object without eval () dynamically? - jsonRounding in C-preprocessor - cHow to compile (create) a Qt application to work on many Linux distributions? - c ++Qt + XCompositeRender problem - linuxCase of excluding random pointers: a ternary conditional operator that does not work with string concatenation - javaIs it possible to request a custom workitem field in the TFS SDK - tfsHow to use Liquibase in a maven project with svn - java-eeHow to convert python string to ucs2 hex? - pythonAll Articles