CBHPreferencesManager 1.0.0

CBHPreferencesManager 1.0.0

Maintained by Chris Huxtable.



CBHPreferencesManager

release pod licence coverage

An easy-to-use preferences manager. Additionally includes a notification system.

Examples:

Gets the shared manager, registers a call back for a key, and changes the key, after which the callback will be executed.

CBHPreferencesKey NameKey = @"NameKey";

// ...

CBHPreferencesManager *manager = [CBHPreferencesManager sharedManager];
[manager registerObject:self withSelector:@selector(nameChanged:) forChangeOfKey:NameKey];
[manager setObject@"Chris Huxtable" forKey:NameKey];


// ...

- (void)nameChanged:(NSNotification *)notification
{
	NSLog(@"Name Changed to %@", [notification object]);
}

Licence

CBHPreferencesManager is available under the ISC license.