[swift-evolution] Type-safe selectors

Michel Fortin michel.fortin at michelf.ca
Sat Dec 5 09:29:08 CST 2015


Le 5 déc. 2015 à 10:17, Joe Groff <jgroff at apple.com> a écrit :
> The receiver doesn't have to inherit NSObject. Pure Swift classes on Darwin are id-compatible and can have categories as well.

Does that mean that the compiler has to write two categories? one for NSObject and one for the root Swift class?

-- 
Michel Fortin
michel.fortin at michelf.ca
https://michelf.ca



More information about the swift-evolution mailing list