Previously it only worked if it ended up in the header exposed to Objective-C/Swift as that would cause it to extend from a base class which itself extended from NSObject. Instead, we use a type that always extends from NSObject as the selector target.
Previously it only worked if it ended up in the header exposed to Objective-C/Swift as that would cause it to extend from a base class which itself extended from
NSObject
. Instead, we use a type that always extends fromNSObject
as the selector target.