When i create IBAction in xcode8 using swift. it gives error at run time. Unrecognised Selector sent to UIButton
@IBAction func myFunc(sender: AnyObject)
becomes
@IBAction func myFunc(_ sender: AnyObject)