[swift-evolution] Renaming SwiftObject

Félix Cloutier felixcloutier at icloud.com
Thu Jan 4 21:21:01 CST 2018

I'll bite. Shouldn't that name encode that it's an Objective-C object? Like Swift.ObjCBase?

> Le 4 janv. 2018 à 22:10, Greg Parker via swift-evolution <swift-evolution at swift.org> a écrit :
> 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
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

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

More information about the swift-evolution mailing list