Functions

The following functions are available globally.

  • Checks if a coordinate is both valid and non-zero.

    Declaration

    Objective-C

    BOOL AWFCoordinate2DIsValidNonZero(CLLocationCoordinate2D coord)

    Swift

    func AWFCoordinate2DIsValidNonZero(_ coord: CLLocationCoordinate2D) -> Bool
  • Returns a string formatted to contain the data from a map coordinate.

    Declaration

    Objective-C

    NSString *AWFStringFromCLLocationCoordinate2D(CLLocationCoordinate2D coord)

    Swift

    func AWFStringFromCLLocationCoordinate2D(_ coord: CLLocationCoordinate2D) -> String!

    Parameters

    coord

    The map coordinate to format.

    Return Value

    A string that corresponds to the map coordinate.