Adding a settings page inside my application (Xcode and Swift)

I want to add a settings page to my application. I saw that there is a way to set the settings page (set of settings) inside my own settings application (for example, here: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html ) . But I want to have settings for my application in my application.

I could do a couple of things, but I don’t know which approach is right ... I could use InAppSettingsKit ( http://www.inappsettingskit.com/ ) or do everything manually, which would be very dirty (I think?) . What have you guys / girls done with your settings in the past, and what do you think will be the best approach to this? And is there a better approach to this problem than what I listed above?

Many thanks:)

+7
ios xcode swift settings
source share
2 answers

Depending on the number of parameters that you need in your settings, the approach may be different.

  • If you have a lot of options , with the need for lines containing sliders, radio buttons or any other advanced cell configuration, then using a library like InAppSettingsKit is a good bet.

  • On the other hand, if you have only a few options , using the UITableViewController with Static Cells and Grouped Style may be sufficient. You can do a lot in Interface Builder and perform actions in code.

Choose the approach that suits you, I think they are both respectable.

+7
source share

you need a newer design. Please check this link. I think this is helpful. https://shrikar.com/xcode-6-tutorial-grouped-uitableview/

0
source share

All Articles