ios :: UIButton :: defaultinit
# Button on the touch screen
extern class UIButton in "ObjC" `{ UIButton * `}
super UIControl
new(kind: UIButtonType) in "ObjC" `{ return [UIButton buttonWithType: kind]; `}
# Wraps: `[self titleLabel]`
fun title_label: UILabel in "ObjC" `{
return [self titleLabel];
`}
# Wraps: `[self setTitle forState]`
fun title=(text: NSString) in "ObjC" `{
[self setTitle:text forState:UIControlStateNormal];
`}
# Wraps: `[self currentTitle]`
fun current_title: NSString in "ObjC" `{
return [self currentTitle];
`}
end
lib/ios/ui/uikit.nit:133,1--153,3