Re: [swift-dev] Swift root meta-class

2017-05-08 Thread Giacomo Leopizzi via swift-dev
Yes, of course. It’s just the will to understand more low level stuffs about Swift. We downloaded the file and what we understand is that the root-class is always SwiftObject but if SWIFT_OBJC_INTEROP is defined it create the necessary “bridges” for working with ObjC. Many thanks for the kind

Re: [swift-dev] Swift root meta-class

2017-05-08 Thread John McCall via swift-dev
> On May 8, 2017, at 6:21 PM, Giacomo Leopizzi via swift-dev > wrote: > Hello everyone! > I was discussing with a friend about metaclasses in Objective-C. In Obj-C the > root meta-class was the NSObject's one. ObjC does not have a single root class. Most ObjC classes

[swift-corelibs-dev] Bring NSString functions to String

2017-05-08 Thread Eric Blachère via swift-corelibs-dev
Hello, I was just wondering if there are plans to bring NSString functions manipulating paths into the native String class. (such as lastPathComponent, pathComponents etc...) Because even if we can always make an extension of String to easily cast it into NSString, it's still a bit of a shame to