ios :: UISwitch :: defaultinit
# On/Off button
extern class UISwitch in "ObjC" `{ UISwitch * `}
super UIView
new in "ObjC" `{ return [[UISwitch alloc] init]; `}
# Wraps: `UISwitch.onTintColor`
# fun on_tint_color: UIColor in "ObjC" `{
# return [self onTintColor];
# `}
# Wraps: `UISwitch.tintColor`
# fun tint_color: UIColor in "ObjC" `{
# return [self tintColor];
# `}
# Wraps: `UISwitch.thumbTintColor`
# fun thumb_tint_color: UIColor in "ObjC" `{
# return [self thumbTintColor];
# `}
# Wraps: `UISwitch.onImage`
# fun on_image: UIImage in "ObjC" `{
# return [self onImage];
# `}
# Wraps: `UISwitch.offImage`
# fun off_image: UIImage in "ObjC" `{
# return [self offImage];
# `}
# Wraps: `UISwitch.on`
fun on: Bool in "ObjC" `{
return self.on;
`}
# Wraps: `[self setOn:(BOOL)on animated:(BOOL)animated]`
fun set_on_animated(on: Bool, animated: Bool) in "ObjC" `{
[self setOn: on animated: animated];
`}
end
lib/ios/ui/uikit.nit:648,1--688,3