Example #1
0
def load_editor_actions():
    NSUserDefaults = ObjCClass('NSUserDefaults')
    defaults = NSUserDefaults.standardUserDefaults()
    return [ActionInfo(a) for a in defaults.objectForKey_('EditorActionInfos')]
Example #2
0
def _user_defaults():
    NSUserDefaults = ObjCClass('NSUserDefaults')
    return NSUserDefaults.standardUserDefaults()