Class: C
Instance Attribute Summary
Attributes inherited from Z
Instance Method Summary collapse
Methods inherited from Z
#didRotateFromInterfaceOrientation, #initialize, #viewWillAppear
Constructor Details
This class inherits a constructor from Z
Instance Method Details
#viewDidLoad ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/c.rb', line 2 def viewDidLoad @comp = label( :wrench, text:"Yes please!", color: 0xB0FB03.uicolor ) do |label| label.color = 0x539FFB.uicolor label.accessibilityLabel = "label_c" label.backgroundColor = UIColor.clearColor label.font = UIFont.fontWithName( 'copperplate', size:40 ) label.textAlignment = NSTextAlignmentCenter label.frame = CGRectMake( 0, 0, 300, 50 ) label.center = center self.view.addSubview(label) end super end |