I was wondering what approach is recommended for storing an array of CLLocation objects (forming a route or path) in a Core Data database? Is serialization a good approach, or would you recommend storing CLLocation objects in a separate model that is relevant to the route model?
The problem with serializing an array of locations is that you do not have easy access to specific places. On the other hand, storing each route / path location as a separate entry in the database seems to lead to a large database and may lead to poor performance.
I am interested to hear your suggestions.
Bart
source share