This repository contains the necessary components and instructions for integrating Kuzu - a high-performance graph database - into iOS applications.
- Header files for integrating with Kuzu's C API
- Integration guide with detailed installation instructions
- Example Swift code for using Kuzu in an iOS application
For a working example of this integration, see the demo repository: https://github.com/johnbenac/kuzo-ios-test
To integrate Kuzu into your iOS application:
- Add the
Kuzu.xcframeworkto your Xcode project - Add the required
-lc++linker flag - Create an Objective-C Bridging Header to import the Kuzu C API
- Initialize the database with iOS-appropriate memory settings
- Use the C API to execute Cypher queries
For detailed integration instructions, see KUZU_IOS_INTEGRATION.md in this repository.
When using Kuzu on iOS, you must configure it with appropriate resource constraints:
- Buffer pool size: 16MB (not default/0)
- Max threads: 1 (not default/0)
- Max DB size: 64MB (not 2GB)
- Checkpoint threshold: 1MB (not 5MB)
These settings are critical for reliable operation on iOS devices.
This integration follows the same licensing as the Kuzu database project.
Contributions to improve the iOS integration are welcome. Please submit issues or pull requests to help enhance this project.