BasicLocationController

Undocumented

  • invokes request to server via AFHTTPSessionManager and AFJSONRequestSerializer and casts response to NSDictionary. - parameter onComplete: completion handler - returns: Array of locations as MapLocation conforming to MKAnnotation protocol

    Declaration

    Swift

    func getAllLocationsForTeams(_ onComplete: (_ locationsForTeams:[[MapLocation]]?, _ error:NSError?) -> Void)

    Parameters

    onComplete

    completion handler

    Return Value

    Array of locations as MapLocation conforming to MKAnnotation protocol