From 6c6bdc184db1bdda719b29c392f35f37df9a8084 Mon Sep 17 00:00:00 2001 From: Nicholas Furness Date: Tue, 2 Dec 2014 15:52:23 -0500 Subject: [PATCH] Make basemap variable implicitly unwrapped optional. --- Basemap Tutorial/swift/MyFirstMapApp/ViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Basemap Tutorial/swift/MyFirstMapApp/ViewController.swift b/Basemap Tutorial/swift/MyFirstMapApp/ViewController.swift index 5c76054..08bc741 100644 --- a/Basemap Tutorial/swift/MyFirstMapApp/ViewController.swift +++ b/Basemap Tutorial/swift/MyFirstMapApp/ViewController.swift @@ -57,7 +57,7 @@ class ViewController: UIViewController, AGSMapViewLayerDelegate { @IBAction func basemapChanged(sender: UISegmentedControl) { - var basemapURL:NSURL + var basemapURL:NSURL! switch sender.selectedSegmentIndex { case 0: //gray