1

Is there an alternative to InAppSettingsKit that is simpler? I find myself needing only 20% of what it offers.

2 Answers 2

6

How about ESCOZ's QuickDialog library? Seems like a reasonable alternative.

2
  • 1
    @EduardoScoz it is not maintained anymore. Mar 24, 2017 at 19:39
  • 1
    @haifengkao yeah, this is a super old project now. :) Mar 29, 2017 at 15:52
2

Well, one alternative is to just build your own settings panel with a regular UIViewController and some buttons and switches, etc. and then save the settings using NSUserDefaults, e.g.

- (IBAction)mySettingSwitchAction:(UISwitch *)theSwitch
{
    //save the switch setting
    [[NSUserDefaults standardUserDefaults] setBool:theSwitch.on forKey:@"myPreferenceName"];
}

then you can load it again anywhere in your app using

BOOL theValueISet = [[NSUserDefaults standardUserDefaults] boolForKey:@"myPreferenceName"];

Values you set in NSUserDefaults are persistent so if the app is closed and opened again they retain their values. You can call synchronize on NSUserDefaults to force it to save/load the values but this happens automatically on app open/close anyway.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.