import UIKit
class LoginViewController: UIViewController {
@IBAction func btnActionLogin(_ sender: Any?) {
print("Why is this error?")
}
}
After connecting the button to my view controller, when I tap the button, the app keeps crashing with an Error: (Thread 1: signal SIGABRT)
Why? I am just connecting the button from the storyboard to the code like normal..