I\'m trying to convert my project\'s source code from Swift 3 to Swift 4. One warning Xcode is giving me is about my selectors.
For instance, I add a target to a butt
As already mentioned in other answers, there is no way to avoid the @objc
annotation for selectors.
But warning mentioned in the OP can be silenced by taking following steps:
Off
below is the screenshot that illustrates the above mentioned steps:
Hope this helps