Skip to content

Commit

Permalink
Fix #25 IBOutlets should be weak
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeLin committed Aug 18, 2015
1 parent d712647 commit 49429b1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Swift Weather/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ class ViewController: UIViewController, CLLocationManagerDelegate {

private let locationManager = CLLocationManager()

@IBOutlet var loadingIndicator : UIActivityIndicatorView! = nil
@IBOutlet var icon : UIImageView!
@IBOutlet var temperature : UILabel!
@IBOutlet var loading : UILabel!
@IBOutlet var location : UILabel!
@IBOutlet weak var loadingIndicator : UIActivityIndicatorView! = nil
@IBOutlet weak var icon : UIImageView!
@IBOutlet weak var temperature : UILabel!
@IBOutlet weak var loading : UILabel!
@IBOutlet weak var location : UILabel!
@IBOutlet weak var time1: UILabel!
@IBOutlet weak var time2: UILabel!
@IBOutlet weak var time3: UILabel!
Expand Down

0 comments on commit 49429b1

Please sign in to comment.