ios - Storing C struct array to core data or on disk? -
i working on app records location points , draws path on mapview using mkpolyline, requires c struct array of location points latitude , longitude. save cllocation objects in coredata each path, when want display them need enumerate cllocations , create c struct array cllocation points. problem since takes longer if there're lot of points enumerate.
i'm looking solution able save large number of location points on disk , able load them fast , add them mkpolyline. appreciate help.
edit: locations array cllocationcoordinate2d array.
have considered using berkeley db or key-value data store library? tend fast, lightweight, , looks people have gotten of them working on ios. berkeleydb owned oracle now, , it's free open source apps.
another popular key-value store kyoto cabinet, gpl'd.
google has mit-licensed key-value store called leveldb, , looks there's objective-c wrapper.
Comments
Post a Comment