Sha256: 3ba7cc14b107af0e8bdd0cb87a7ad7629a20164022fd9016ac7fcdaa259c6318
Contents?: true
Size: 323 Bytes
Versions: 2
Compression:
Stored size: 323 Bytes
Contents
class ViewTitleScreen < PM::Screen attr_accessor :button_was_triggered title UIView.alloc.init def will_appear self.button_was_triggered = false add UILabel.alloc.initWithFrame([[ 10, 10 ], [ 300, 40 ]]), text: "Label Here" end def triggered_button self.button_was_triggered = true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ProMotion-1.2.1 | spec/helpers/view_title_screen.rb |
ProMotion-1.2.0 | spec/helpers/view_title_screen.rb |