import UIKit import CoreLocation class ViewController: UIViewController, CLLocationManagerDelegate { var lm: CLLocationManager! = nil var longitude: CLLocationDegrees! var latitude: CLLocationDegrees! @IBOutlet var lonLabel: UILabel @IBOutlet var latLabel: UILabel @IBAction func nowButton(sender: AnyObject) { //現在地取得 lm.startUpdatingLocation() } override func viewDidLoad() { super.viewDidLoad() va