Macro objc::class

source ·
macro_rules! class {
    ($name:ident) => { ... };
}
Expand description

Gets a reference to a Class.

Panics if no class with the given name can be found. To check for a class that may not exist, use Class::get.

Example

let cls = class!(NSObject);