Module: MotionPrime::DelegateBaseMixin

Included in:
BaseAppDelegate
Defined in:
motion-prime/delegate/_base_mixin.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#windowObject

Returns the value of attribute window.



3
4
5
# File 'motion-prime/delegate/_base_mixin.rb', line 3

def window
  @window
end

Instance Method Details

#app_windowObject



28
29
30
# File 'motion-prime/delegate/_base_mixin.rb', line 28

def app_window
  self.app_delegate.window
end

#application(application, didFailToRegisterForRemoteNotificationsWithError: error) ⇒ Object



5
6
7
8
9
10
11
# File 'motion-prime/delegate/_base_mixin.rb', line 5

def application(application, willFinishLaunchingWithOptions:opts)
  MotionPrime::Config.configure!
  MotionPrime::Styles.define!
  Prime.logger.info "Loading Prime application with env: #{Prime.env}"
  application.setStatusBarStyle UIStatusBarStyleLightContent
  application.setStatusBarHidden false
end

#on_load(application, launch_options) ⇒ Object



25
26
# File 'motion-prime/delegate/_base_mixin.rb', line 25

def on_load(application, launch_options)
end