Module objc2::declare

source ·
Expand description

Dynamically creating classes and protocols.

Classes can be declared using the ClassBuilder struct. Instance variables and methods can then be added before the class is ultimately registered.

Structs

  • A type for declaring a new class and adding new methods and ivars to it before registering it.
  • A type for declaring a new protocol and adding new methods to it before registering it.

Type Aliases