Objc.setMetaclass

Creates and sets the metaclass on the given class/interface declaration.

Will only be performed on regular Objective-C classes, not on metaclasses.

  1. void setMetaclass(InterfaceDeclaration interfaceDeclaration, Scope* sc)
  2. void setMetaclass(ClassDeclaration classDeclaration, Scope* sc)
    class Objc
    abstract const
    void
    setMetaclass

Parameters

classDeclaration ClassDeclaration

the class/interface declaration to set the metaclass on

Meta