I\'m trying to developing an app that includes a simple Stopwatch feature. I\'m using Xcode 6 and the Swift language. Here is the code in FirstViewController
let updateTime be a class method . And if it's in a pure Swift class you'll need to preface that method's declaration with @objc like:
class A { @objc func updateTime(timer:NSTimer) { } }