Class: A

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

Constant Summary

Constants included from MotionAwesome

MotionAwesome::VERSION

Instance Attribute Summary

Attributes inherited from Z

#comp

Instance Method Summary collapse

Methods inherited from Z

#didRotateFromInterfaceOrientation, #initialize, #viewWillAppear

Methods included from MotionAwesome

attributed_text, button, button_types, font, hex_for_icon, label, map_types, parse_options, plist, xform_icon

Constructor Details

This class inherits a constructor from Z

Instance Method Details

#viewDidLoadObject



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

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