I’ve googled but not been able to find out what the swift equivalent to respondsToSelector: is. This is the only thing I could find (Swift alternative to respondsToSelector:) but...
I’m trying to create an NSTimer in Swift but I’m having some trouble. NSTimer(timeInterval: 1, target: self, selector: test(), userInfo: nil, repeats: true) test() is a function in the...