extern_methods!
shorthand for property access
#256
Labels
A-objc2
Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates
enhancement
New feature or request
help wanted
Extra attention is needed
Some classes have a lot of simple properties; it may be interesting to have an easier way of accessing these?
Examples:
UIColor
has a lot of class properties that return a specificUIColor
instanceUIView
has a lot of getter/setter properties&mut self
for mutation, while others might use&self
x
->isX
translation forBOOL
properties can be kinda confusing, and would be nice to handle automaticallySee also #161 (comment).
The text was updated successfully, but these errors were encountered: