Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Commit

Permalink
App.app => UIApplication.sharedApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
colinta committed Jul 21, 2012
1 parent 890df6c commit 477d0f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions motion/core/app.rb
Expand Up @@ -105,6 +105,11 @@ def delegate
UIApplication.sharedApplication.delegate
end

# the Application object.
def app
UIApplication.sharedApplication
end

# @return [NSLocale] locale of user settings
def current_locale
languages = NSLocale.preferredLanguages
Expand Down

0 comments on commit 477d0f8

Please sign in to comment.