samples/Hai/app/hai_controller.rb in teacup-0.3.1 vs samples/Hai/app/hai_controller.rb in teacup-0.3.2
- old
+ new
@@ -1,10 +1,10 @@
class HaiViewController < UIViewController
stylesheet :iphone
layout :hai do
- subview(UILabel, :label)
- subview(UILabel, :footer)
+ @a = subview(UILabel, :label)
+ @b = subview(UILabel, :footer)
end
def shouldAutorotateToInterfaceOrientation(orientation)
autorotateToOrientation(orientation)
end