Poet Sonata Poet Sonata - 1 year ago 89
iOS Question

How can I use the Berkeley DB within an iOS application?

I would like to use the Berkeley DB within an iOS application, but I'm not sure how to go about this.

How do you integrate the Berkeley DB within an iOS project? How do you communicate with it via Objective-C?

Are there any tutorials or examples out there that might demonstrate how to do this?

Answer Source

The first thing to note is that the library is C++, not objective-c. This isn't an issue since objective-c can call C++. Also, there isn't much in the way of tutorials, but here is what you will need to do it yourself:



Everything you probably need to know to install is here

The specific section on building it on an iOS device is here

C++ Examples

Calling C++ from Objective-C

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download