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 an
> On May 8, 2017, at 6:46 PM, Giacomo Leopizzi wrote:
> Our starting point was that in ObjC at the beginning of the execution, the
> root meta-class (most of the time NSObject) instantiates all the other
> meta-classes, that create the class as object for the software.
This is somewhat like how
Our starting point was that in ObjC at the beginning of the execution, the root
meta-class (most of the time NSObject) instantiates all the other meta-classes,
that create the class as object for the software. In Swift is it the same? If
so, which is the name of the root meta-class?
Thanks for
> 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 inherit from
NSObject, b
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. When in a swift class you create a
subclass of NSObject, the root metaclass should be the same. What happen when
you delcare a class without NSObject dependence?