[swift-evolution] [Review] SE-0006 Apply API Guidelines to the Standard Library

Brent Royal-Gordon brent at architechies.com
Mon Feb 1 16:40:52 CST 2016


> What is the rationale for moving `unsafeUnwrap` into Optional but not `unsafeAddressOf` into AnyObject?

For one thing, because AnyObject has no methods and the compiler prevents it from being extended. Of course, as far as I can tell that limitation is unprincipled.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list