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
The documentation states that you can change a UIButton to CheckboxButton in Interface Builder, but as of 9.3 this does not seem to be possible.
UIControl is a superclass of UIButton, but Interface Builder does not let you substitute a class that is not a subclass of the object you have placed. Changing CheckboxButton to subclass UIButton resolves this issue.
Otherwise, you must place a UIView in the storyboard scene and change its class to CheckboxButton
The text was updated successfully, but these errors were encountered:
You are right, to use in Interface Builder, the view component in the storyboard needs to be UIView, not a UIButton. Thanks for reporting the inaccuracy of the docs, I'll update it
The documentation states that you can change a
UIButton
toCheckboxButton
in Interface Builder, but as of 9.3 this does not seem to be possible.UIControl
is a superclass ofUIButton
, but Interface Builder does not let you substitute a class that is not a subclass of the object you have placed. ChangingCheckboxButton
to subclassUIButton
resolves this issue.Otherwise, you must place a
UIView
in the storyboard scene and change its class toCheckboxButton
The text was updated successfully, but these errors were encountered: