ios :: UIView :: defaultinit
# Rectangular area on the screen
extern class UIView in "ObjC" `{ UIView * `}
super NSObject
new in "ObjC" `{ return [[UIView alloc] init]; `}
# Wraps: `UIView.addSubview`
fun add_subview(view: UIView) in "ObjC" `{
[self addSubview: view];
`}
# Wraps: `UIView.removeFromSuperview`
fun remove_from_superview in "ObjC" `{
[self removeFromSuperview];
`}
# Wraps: `UIView.sizeToFit`
fun size_to_fit in "ObjC" `{
[self sizeToFit];
`}
# Wraps: `UIView.frame =`
fun set_frame(x, y, w, h: Float) in "ObjC" `{
self.frame = CGRectMake(x, y, w, h);
`}
# Wraps: `UIView.bounds =`
fun set_bounds(x, y, w, h: Float) in "ObjC" `{
self.bounds = CGRectMake(x, y, w, h);
`}
# Wraps: `UIView.center =`
fun set_center(x, y: Float) in "ObjC" `{
self.center = CGPointMake(x, y);
`}
# Wraps: `UIView.userInteractionEnabled =`
fun user_interaction_enabled=(value: Bool) in "ObjC" `{
self.userInteractionEnabled = value;
`}
# Wraps: `UIView.translatesAutoresizingMaskIntoConstraints =`
fun translates_autoresizing_mask_into_constraits=(value: Bool) in "ObjC" `{
self.translatesAutoresizingMaskIntoConstraints = value;
`}
# Wraps: `UIView.backgroundColor =`
fun background_color=(color: UIColor) in "ObjC" `{
self.backgroundColor = color;
`}
# Wraps: `[self viewPrintFormatter]`
#fun view_print_formatter: UIViewPrintFormatter in "ObjC" `{
#return [self viewPrintFormatter];
#`}
# Wraps: `[self drawRect:(CGRect)rect forViewPrintFormatter:(UIViewPrintFormatter)formatter]`
#fun draw_rect_for_view_print_formatter(rect: CGRect, formatter: UIViewPrintFormatter) in "ObjC" `{
# [self drawRect: rect forViewPrintFormatter: formatter];
#`}
end
lib/ios/ui/uikit.nit:23,1--83,3