Sha256: 73ed8b680606feb6c542fc30ad009dd570b848b5d427fd5e49730c3c13702711

Contents?: true

Size: 249 Bytes

Versions: 9

Compression:

Stored size: 249 Bytes

Contents

class BasicScreen < PM::Screen
  title "Basic"

  attr_reader :animation_ts

  def will_appear
    @will_appear_ts = NSDate.date
  end
  
  def on_appear
    @on_appear_ts = NSDate.date
    @animation_ts = @on_appear_ts - @will_appear_ts
  end

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
ProMotion-formotion-0.1.6 app/screens/basic_screen.rb
ProMotion-formotion-0.1.5 app/screens/basic_screen.rb
ProMotion-1.2.1 app/screens/basic_screen.rb
ProMotion-formotion-0.1.4 app/screens/basic_screen.rb
ProMotion-1.2.0 app/screens/basic_screen.rb
ProMotion-1.1.2 app/screens/basic_screen.rb
ProMotion-1.1.1 app/screens/basic_screen.rb
ProMotion-1.1.0 app/screens/basic_screen.rb
ProMotion-1.1.0.rc1 app/screens/basic_screen.rb