In Xcode 7.3 (using Swift) I've created the most simple map example:
- Imported MapKit
- Created an outlet called mapView
For some reason, there's no autocomplete with my outlet. Even when I type 'ma' it does not come up with the outlet name 'mapView'.
Can anyone help get autocomplete working?
Code from: ViewController.swift
import UIKit
import MapKit
class ViewController: UIViewController {
@IBOutlet weak var mapView: MKMapView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
// mapView doesnt appear when I begin to type it
// also it doesn't show any functions when I type mapView.
}
I've also uploaded my project to dropbox: https://www.dropbox.com/sh/rgefwafhanti1wa/AABhQt8TsbvesaO9zg-SydlRa?dl=0