FMDB 如何让 SQLite 更简单的 iOS? [英] How FMDB makes sqlite more simpler iOS?
问题描述
我想在我的 iPhone 应用程序中使用 fmdb.使用 sqlite 和 fmdb 不使用 fmdb 有什么区别?
i want to use fmdb in my iPhone application. What are the differences in using sqlite with fmdb without fmdb?
我需要能够编写查询.
fmdb 如何比单个 sqlite 更容易/更有效地使用?如果有任何源代码或指南,请发布其链接
how the fmdb is easier/effecient to use than single sqlite? if there is any source code or guide to it please post its link
推荐答案
FMDB 是 SQLite 的 C API 之上的包装器,具有更多的Objective-C风格的API.哪种 API 风格更简单"取决于您,这在很大程度上取决于您的编程背景和个人喜好.
FMDB is a wrapper on top of SQLite's C API with an API more in Objective-C style. Which API style is "easier" is more up to you, it would depend greatly on your programming background and personal preference.
其 GitHub 页面 上有一个指南展示了如何使用 FMDB,它很好地展示了 API,您一定要阅读在决定之前.
There's a guide showing how to use FMDB at its GitHub page which shows the API off pretty well, you should definitely read that before deciding.
这篇关于FMDB 如何让 SQLite 更简单的 iOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!