-
-
Notifications
You must be signed in to change notification settings - Fork 76
Class definition improvements #428
Copy link
Copy link
Open
Labels
A-objc2Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` cratesAffects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates
Milestone
Description
Metadata
Metadata
Assignees
Labels
A-objc2Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` cratesAffects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates
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 #455initmethod declaration:declare_class!: Safer initializers #438extern_methods!).NSWindowDelegateshould requireIsRetainable, or perhaps evenMainThreadOnly).constto allow safety-checking them as well.self, could we solve it with an extra argument and perhaps a special attribute on that argument?