I have an array of CLLocation data that I would like to archive. Should the NSUserDefaults system be used? Otherwise, how best to archive the
CLLocation
NSUserDefaults
This is the usual method.
CLLocation *myLocationToStore = ...; // (a CLLocation object) NSData *locationData = [NSKeyedArchiver archivedDataWithRootObject:myLocationToStore];