[−][src]Macro objc::class
macro_rules! class { ($name:ident) => { ... }; }
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);