Inside CLLocation Class Referencethe properties section, this is what it says for coordinate:
coordinate
The geographical coordinate information. (read-only)
@property(readonly, NS_NONATOMIC_IPHONEONLY) CLLocationCoordinate2D coordinate
Discussion
When running in the simulator, Core Location assigns a fixed set of coordinate values to this property. You must run your application on an iOS-based device to get real location values.
Special Considerations
In iOS, this property is declared as nonatomic. In Mac OS X, it is declared as atomic.
I just wonder what it means @property(readonly, NS_NONATOMIC_IPHONEONLY). In particular, part NS_NONATOMIC_IPHONEONLY. It seems to me that I can access this from iPod touch.
Am I missing something? Is it safe to use with iPod touch?
source
share