If NSUserDefaults suits your needs generally, then you can use a simple trick to separate data for separate users.
Simply use a key that has the username or other identifier at the beginning of the key, and use that key to store data for that user.
A simple helper method like this will give you a key to use:
- (NSString *)generateKey:(NSString *)key forUsername:(NSString *)username {
return [NSString stringWithFormat:@"%@:%@", username, key];
}
You could get more complicated and store all your data in an NSDictionary with username(or id) as the key and that user's settings as the value, but you may not need or desire that complexity right now.