Swift and Objective-C
NS_REFINED_FOR_SWIFT is a macro that helps you write “swifty” API for objective-c code.
In the header file, you tag the method declaration with this macro, and in a swift extension, you write a swift implementation that uses it. This method prepends two underscores (
__myMethod(_: whatever:)) to most methods, though in the case of initializers, it appends to the first argument label.