如何简化应用程序设置管理? [英] How to simplify in app Application Settings management?

查看:118
本文介绍了如何简化应用程序设置管理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相信每一个可可程序员都不得不面对这个问题:我知道苹果希望每个应用程序都将其设置放在设置应用程序中。但是在定制方面,它提供了很多限制。此外,最好在应用程序中放置一些设置,因为它们经常变化。

在这种情况下,开发人员必须在自己的应用程序中实施设置管理。事情是,重新实现所有的基本的东西,可以很容易地管理在一个简单的plist的设置应用程序是一个overkill。有没有一些框架/库已经创建简化的东西,也许可以作为输入一个类似plist?

一般来说,你如何在应用程序设置中实现?

I'm sure every cocoa-touch programmer had to face this: I know Apple would like every application to place their settings in the Settings app. But it's quite limiting in what it offers, in terms of customization. Also, it's better to place some settings within the app, as they change frequently.
In such cases, the developer has to implement settings management within its own application. The thing is that it's quite an overkill to reimplement all the basic stuff that could be easily managed in the Settings app with a simple plist. Is there some kind of framework/library that has already been created to simplify things, that maybe could take as an input a similar plist?
In general, how do you implement in app-settings? Do you override UITableViewControllers each time?

推荐答案

您是否看过 mySettings ?使用几乎相同的plist文件,您可以在设置应用程序中使用,但会在您的应用程序中显示它。

Have you seen mySettings? Uses almost the same plist file as you can use in the Settings app but displays it inside your app.

顺便提一下,Apple建议在应用程序中包括经常更改的设置。其他应该在设置应用中。

Incidentally, Apple recommends including frequently changed settings inside your application. Other stuff should be in the Settings app.

这篇关于如何简化应用程序设置管理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆