Sha256: 8cfdaac68b5e0dbb9e42aa5153747f736a48706acb06166cb780151aa6f1ba4f

Contents?: true

Size: 392 Bytes

Versions: 24

Compression:

Stored size: 392 Bytes

Contents

class DrawingViewController < UIViewController
  attr_reader :drawing_view

  def loadView
    screen = UIScreen.mainScreen.bounds
    self.view = UIView.alloc.initWithFrame screen
    self.view.backgroundColor = UIColor.whiteColor

    @drawing_view = RectView.alloc.initWithFrame [[screen.size.width/2-50,screen.size.height/2-50], [100,100]]
    self.view.addSubview @drawing_view
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
bubble-wrap-1.9.7 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.9.6 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.9.5 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.9.4 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.9.3 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.9.2 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.9.1 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.9.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.8.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.7.1 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.7.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.6.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.6.0.rc1 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.5.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.5.0.rc1 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.4.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.3.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.3.0.osx samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.2.0 samples/gesture/app/controllers/drawing_view_controller.rb
bubble-wrap-1.2.0.pre samples/gesture/app/controllers/drawing_view_controller.rb