Why is PillView not derived directly from UIView #27
Unanswered
martindufort
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm moving forward with adding macOS comptability and wondering why the
PillView
contains apillView
UIView instance variable.Why did you decide not to derive directly from
UIView
?Something like this:
Then we would inherit automatically the sizing information (width, height) and not have to forward those values to the inner
pillView
.Let me know
martin
Beta Was this translation helpful? Give feedback.
All reactions