[swift-evolution] Renaming SwiftObject

Greg Parker gparker at apple.com
Thu Jan 4 21:09:57 CST 2018


SwiftObject is an Objective-C class that is the base class of all "pure Swift" class types. It needs to be renamed for the Swift stable ABI in order to avoid ObjC class name collisions between the stable ABI's Swift runtime and the runtime embedded into existing Swift apps.

I suggest `Swift._Object`, mangled as _TtCs7_Object like other Swift ObjC class names. 

Any comments?

https://github.com/apple/swift/pull/13748 <https://github.com/apple/swift/pull/13748>


-- 
Greg Parker     gparker at apple.com <mailto:gparker at apple.com>     Runtime Wrangler


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20180104/140127b2/attachment.html>


More information about the swift-evolution mailing list