read eval print loop - How to access App::Persistence in REPL console in RubyMotion -


i've saved variables authtoken app::persistence store, want debug it. can access through repl console?

absolutely. app::persistence["authtoken"] work fine in repl.

if want contents of persistent store, try app::persistence.storage.dictionaryrepresentation. keys begin app identifier (com.yourcompany.appname_).


Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -