First off my background in Xcode and Swift is nonexistent. This is the first code I've attempted to write and I'm getting nowhere. Please help!
All I'm trying to do at the moment is pull up map view in the simulator but all I get is a grid not an actual map.
Note: I've linked in the MapKit.framework and made zero changes to AppDelegate.swift.
The following is code in ViewController.swift:
import UIKit
import MapKit
class ViewController: UIViewController, MKMapViewDelegate {
@IBOutlet weak var mapView: MKMapView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
@IBAction func zoomIn(sender: AnyObject) {
}
@IBAction func changeMapType(sender: AnyObject) {
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
PLEASE HELP!!!! Stack overflow won't allow me to post images so hopefully this is enough!