Update:
You will be pleased to learn that with Swift 2.2 and Xcode 7.3 it can now warn when there is no method declaration for a particular selector. A new syntax has appeared. You should no longer define selectors as "myMethodToCall:"or Selector("myMethodToCall:"). Define them like this:
#selector(ViewController.myMethodToCall(_:))
#selector(ViewController.myMethodToCall)
Xcode will suggest converting existing selectors to this new syntax. Hooray!
:
Xcode 7.2, , . Selector 'stringy'.
. :
API, , API performSelector. :
self.performSelector("functionName")
self.performSelector(Selector("functionName"))