You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List of improvements that would bring us closer to feature-parity with Swift:
The ability to safely call superclass methods inside declare_class! (though it's probably not safe to do so outside): Calling super methods safely #455
Store data about methods from virtual protocols in a const to allow safety-checking them as well.
Allow class methods access to the actual class it was invoked with. Swift solves this with self, could we solve it with an extra argument and perhaps a special attribute on that argument?
...
The text was updated successfully, but these errors were encountered:
madsmtm
added
the
A-objc2
Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates
label
Mar 2, 2023
List of improvements that would bring us closer to feature-parity with Swift:
declare_class!
(though it's probably not safe to do so outside): Calling super methods safely #455init
method declaration:declare_class!
: Safer initializers #438extern_methods!
).NSWindowDelegate
should requireIsRetainable
, or perhaps evenMainThreadOnly
).const
to allow safety-checking them as well.self
, could we solve it with an extra argument and perhaps a special attribute on that argument?The text was updated successfully, but these errors were encountered: