Open
Description
It seems currently the only way to create e.g. an NSWindowDelegate is through objc::declare::ClassDecl
interface:
let superclass = Class::get("NSObject").unwrap();
let mut decl = ClassDecl::new("MyWindowDelegate", superclass).unwrap();
decl.add_method ...
Should this crate expose trait NSWindowDelegate
and make the creation of such delegate more type-safe?
Metadata
Metadata
Assignees
Labels
No labels