Class: A

Inherits:
Z
  • Object
show all
Defined in:
app/controllers/a.rb

Instance Attribute Summary

Attributes inherited from Z

#comp

Instance Method Summary collapse

Methods inherited from Z

#didRotateFromInterfaceOrientation, #initialize, #viewWillAppear

Constructor Details

This class inherits a constructor from Z

Instance Method Details

#viewDidLoadObject



2
3
4
5
6
7
8
9
10
11
12
# File 'app/controllers/a.rb', line 2

def viewDidLoad    
  @comp = label( :flag, size: 200 ) do |label|
    label.color              = 0x04B0FB.uicolor
    label.accessibilityLabel = "label_a"
    label.backgroundColor    = UIColor.clearColor
    label.frame              = CGRectMake( 0, 0, 200, 200 )
    label.center             = center
    self.view.addSubview(label)
  end 
  super   
end