Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMStoreUserDefaultsPersistence has now a method for getting the NSUserDefaults #122

Merged
merged 1 commit into from
Nov 20, 2014

Conversation

ChaosCoder
Copy link
Contributor

This allows subclasses of RMStoreUserDefaultsPersistance to override this method and return a different NSUserDefaults object e.g.

-(NSUserDefaults *)
    return [[NSUserDefault alloc] initWithSuiteName:@"group.company.app"];
}

This is needed for extensions like iOS 8 widgets.

hpique added a commit that referenced this pull request Nov 20, 2014
RMStoreUserDefaultsPersistence has now a method for getting the NSUserDefaults
@hpique hpique merged commit 178496b into robotmedia:master Nov 20, 2014
@hpique
Copy link
Member

hpique commented Nov 20, 2014

I like this. Thanks @ChaosCoder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants