motion/core/app.rb in bubble-wrap-1.1.2 vs motion/core/app.rb in bubble-wrap-1.1.3
- old
+ new
@@ -103,9 +103,14 @@
# Application Delegate
def delegate
UIApplication.sharedApplication.delegate
end
+ # the Application object.
+ def shared
+ UIApplication.sharedApplication
+ end
+
# @return [NSLocale] locale of user settings
def current_locale
languages = NSLocale.preferredLanguages
if languages.count > 0
return NSLocale.alloc.initWithLocaleIdentifier(languages.first)