Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a library or framework for setting preferences from within an iPhone application?

Using the Settings.app on the iPhone isn't that hard. In fact Xcode does the most of the work for you. Just add the Settings.bundle to your project and there you have it for nearly no cost.

At the moment I'm developing an application for the iPhone which requires the user to fill out several "forms", mostly key-value pairs, some sliders and several modal views with "dropdown" menus. So similar the task is similar to what the Settings.app does.

Doing the forms by myself is a heavy task in my opinion, so I'm wonding if there's a framework for this kind of tasks. Unfortunately it looks like Apple doesn't provide it's own solution. Perhaps somebody knows of a framework or an article on the web which describes best practices.

In case you don't understand to which pattern I'm referring, I made a screenshot: http://img.skitch.com/20090625-s8bf6ahybwe3cesd1id38h3nt.jpg

like image 930
Jens Kohl Avatar asked Jun 25 '09 10:06

Jens Kohl


People also ask

What is UI framework in iOS?

UIKit is a framework that enables you to build user interfaces (UI) that can handle touch events and inputs while managing interactions between the user, the system, and your app.

What is preference on iPhone?

Preferences are pieces of information that you store persistently and use to configure your app.


3 Answers

Check out http://www.inappsettingskit.com. It's used in a couple of apps and it's actively maintained (by myself and a bunch of others).

like image 89
Ortwin Gentz Avatar answered Oct 08 '22 23:10

Ortwin Gentz


After much research I didn't manage to get a good answer to my initial question. But by now I stumbled over this repository on github: mySettings

like image 31
Jens Kohl Avatar answered Oct 08 '22 21:10

Jens Kohl


It's better to put settings in the app, at least until Apple makes it easy to send the user out to Settings and then back into the app. If you look at the new 3.0 UITableViewCellStyles, there's one style tailor-made to doing settings kind of cells - it would make it pretty easy to build out a simple settings screen.

like image 2
Kendall Helmstetter Gelner Avatar answered Oct 08 '22 21:10

Kendall Helmstetter Gelner