Sha256: 0baeab6295209ff5222fdc9e2f46cf132348938e46db71e0fe3aa178f88fab10

Contents?: true

Size: 243 Bytes

Versions: 4

Compression:

Stored size: 243 Bytes

Contents

class MainLayout < MK::Layout

  def layout
    add UILabel, :remove_me
  end

  def remove_me_style
    text 'Hello!'
    text_color UIColor.whiteColor
    size_to_fit
    center ['50%', '50%']
    autoresizing_mask :pin_to_center
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
motion-kit-templates-1.0.3 templates/mk-ios/files/app/main/main_layout.rb
motion-kit-templates-1.0.2 templates/mk-ios/files/app/main/main_layout.rb
motion-kit-templates-1.0.1 templates/mk-ios/files/app/main/main_layout.rb
motion-kit-templates-1.0.0 templates/mk-ios/files/app/main/main_layout.rb