#selector not working in Swift 4?

Viewed 3703

I'm trying to setup a timer in Xcode 9 using Swift 4 and I have a function called: hello.

So in the timer code, I added #selector(hello()) like I would before, but this time it would continue to crash and make me add @objc in front of the hello function. Does anyone know what that means? Thanks!

1 Answers
Related