Changes

Jump to: navigation, search
no edit summary
func showRoute(response: MKDirectionsResponse) {
for route in response.routes as ! [MKRoute] {
routeMap.addOverlay(route.polyline,
let cell = tableView.dequeueReusableCellWithIdentifier(
"resultCell", forIndexPath: indexPath) as ! ResultsTableCell
// Configure the cell...
func showRoute(response: MKDirectionsResponse) {
for route in response.routes as ! [MKRoute] {
routeMap.addOverlay(route.polyline,
sender: AnyObject?) {
let routeViewController = segue.destinationViewController
as ! RouteViewController
let indexPath = self.tableView.indexPathForSelectedRow()

Navigation menu