This "Notes" example app demonstrates how to use the ObjectBox Swift API.
The example comes with two apps: one for iOS and one for macOS. The iOS example is a full GUI application, whereas the macOS example runs a few operations and then exits.
- An example using the CocoaPods release is archived in the
cocoapods-examplebranch - An example using ObjectBox Sync is available in the Sync examples repository
Clone the repository and open the Example directory in Xcode, either through the GUI or from the command-line:
git clone --depth=1 https://github.com/objectbox/objectbox-swift
cd objectbox-swift/Example
open NotesExample.xcodeprojUse the NotesExample-iOS or NotesExample-macOS scheme to run the respective app.