lib/ProMotion/delegate/delegate_helper.rb in ProMotion-0.7.4 vs lib/ProMotion/delegate/delegate_helper.rb in ProMotion-0.7.5
- old
+ new
@@ -2,28 +2,28 @@
module DelegateHelper
attr_accessor :window, :aps_notification, :home_screen
def application(application, didFinishLaunchingWithOptions:launch_options)
-
+
apply_status_bar
-
+
on_load application, launch_options
check_for_push_notification launch_options
-
+
# This will work when RubyMotion fixes a bug.
# defined?(super) ? super : true
# Workaround for now. Will display a NoMethodError, but ignore.
super rescue true
PM.logger.info "You can ignore the NoMethodError -- this is a RubyMotion bug that should be fixed soon."
end
-
+
def applicationWillTerminate(application)
-
+
on_unload if respond_to?(:on_unload)
-
+
end
def app_delegate
self
end