Integrating with Core Location

After a new data point comes in, you need to update the interface with the data in the User model object. Go ahead and add an updateInterface method that will take the location data in the User model object, convert the data into string values, and update the text of the UILabel outlets. Add the following code to DistanceViewController.m:
To convert the NSDate to a readable string, use the NSDateFormatter class. After defining the way you want the date to look, you use the stringFromDate: method to convert the ...

Get The Complete Idiot's Guide® To iPad and iPhone App Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.