Allow #[method_id]
in declare_class!
#282
Labels
A-objc2
Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates
enhancement
New feature or request
To make
declare_class!
andextern_class!
closer in functionality (and make usingdeclare_class!
much safer in general)!It'll probably make sense to start supporting
super
inmsg_send_id!
as well, see #173.Example usage (where all of these could also return an
Option<Id<_, _>>
):And what we should generate:
I'm unsure if we should restrict class method
new
to always returnId<Self>
? Probably not.The text was updated successfully, but these errors were encountered: