Argument of ‘#selector’ refers to instance method ‘buttonTapped()’ that is not exposed to Objective-C WHY SWIFT WHY

Image: Ryanbaker271

Difficulty: Beginner | Easy | Normal | Challenging (although the in-depth explanations are quite tricky, they can be skipped)

When you write Swift code that needs to be called from Objective-C you need to…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store