IBOutlet property returning “Can't unwrap Optional.None” error
问题 I'm getting stuck on some code with the dreaded "Can't unwrap Optional.None" error in my code. I'm following the Shutterbug code from the iTunes U Stanford university course. This is the code given in Objective-C for one of the classes. http://pastebin.com/LG2k3BBW and what I've come up with in Swift; http://pastebin.com/pGtSzu6z After tracing the errors these lines in particular seem to be giving me the problems self.scrollView.zoomScale = 1.0 and self.image = nil Any advice on what's going