[swift-evolution] [Pitch] Rename `AnyObject` to `AnyClass` and drop current `AnyClass`
adrian.zubarev at devandartist.com
Sat May 21 02:08:04 CDT 2016
Another thing to consider is that AnyObject currently has magic that allows any Objective-C method to be called upon it if Foundation is imported on an Apple platform. I think it may be desirable to have AnyObject become something like Any<class>, and have a differently-named construct take the place of an ersatz 'id' type for Objective-C interop.
I’m not sure if this will be the case, just because this proposal is accepted:
And this might be accepted as well (which I defiantly support):
Sent with Airmail
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution