super: Object


  • Load() This event is called when the object becames available in the current runtime system.

  • Unload() This event is called when the object has been removed from the current runtime system (but not yet deallocated).


  • var latitude: Float The latitude in degrees. (read-only)

  • var longitude: Float The longitude in degrees. (read-only)

  • var altitude: Float The altitude measured in meters. (read-only)

  • var horizontalAccuracy: Float The radius of uncertainty for the location, measured in meters. The location’s latitude and longitude identify the center of the circle, and this value indicates the radius of that circle. A negative value indicates that the location’s latitude and longitude are invalid. (read-only)

  • var verticalAccuracy: Float The accuracy of the altitude value in meters. The value in the altitude property could be plus or minus the value indicated by this property. A negative value indicates that the altitude value is invalid. (read-only)

  • var course: Float The direction in which the device is traveling. Course values are measured in degrees starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. Course values may not be available on all devices. A negative value indicates that the direction is invalid. (read-only)

  • var timestamp: Date The time at which this location was determined. (read-only)

  • var floor: Int The logical floor of the building in which the user is located. (read-only)


  • func Location(latitude: Float, longitude: Float) Description not yet ready.

  • func Location(latitude: Float, longitude: Float, altitude: Float, horizontalAccuracy: Float, verticalAccuracy: Float, timestamp: Date) Description not yet ready.


  • func distanceFromLocation(location: Location): Float Returns the distance (in meters) from the receiver’s location to the specified location. This method measures the distance between the two locations by tracing a line between them that follows the curvature of the Earth. The resulting arc is a smooth curve and does not take into account specific altitude changes between the two locations.