I'm building a document-based app that allows users to enter a hierarchy of geographical data. Something analogous to a tree hierarchy of areas and cities. An area has a boundary and can contain sub-areas. An area can contain cities which are just points.
An average document may contain 20 to 30 areas and 500 to 2000 cities. The largest document would contain about 100 areas and 25000 cities.
I'm new to Cocoa programming and I don't know if a data set in that size range qualifies as "small", "medium", "large" or "very large". Knowing that would help me determine how to to store and load the data.
Two quotations I've read on the topic:
"If you have a large data set or require a managed object model, you may want to use
NSPersistentDocument
to create a document-based app that uses the Core Data framework." - Document-Based App Programming Guide for Mac"Applications using very large data sets would likely benefit from a custom persistance implementation. Core Data's reliance on KVC carries with it a significant overhead. We expect pure Swift objects would offer the best performance in terms of low overhead property access" - Cocoa Programming for OS X 5th edition
For my data set size, would I be best served looking at archiving with the NSCoding protocol, core data, or something custom?