Sha256: da6289ac206cdeae6a27e98e83cf0d909dc082a74297bcb3603e54ef6efe3835

Contents?: true

Size: 543 Bytes

Versions: 4

Compression:

Stored size: 543 Bytes

Contents

module ProMotion
  class ViewController < UIViewController
    attr_accessor :screen

    def viewDidLoad
      super
      self.screen.view_did_load if self.screen && self.screen.respond_to?(:view_did_load)
    end

    def viewWillAppear(animated)
      super
      self.screen.view_will_appear(animated) if self.screen && self.screen.respond_to?(:view_will_appear)
    end

    def viewDidAppear(animated)
      super
      self.screen.view_did_appear(animated) if self.screen && self.screen.respond_to?(:view_did_appear)
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ProMotion-0.2.0 lib/ProMotion/_ext/ViewController.rb
ProMotion-0.1.2 lib/ProMotion/_ext/ViewController.rb
ProMotion-0.1.1 lib/ProMotion/_ext/ViewController.rb
ProMotion-0.1.0 lib/ProMotion/ext/ViewController.rb