Skip to content

Files

Example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 28, 2023
Jul 23, 2024
Nov 28, 2023
Nov 28, 2023
Oct 30, 2023
Oct 31, 2023
Apr 7, 2025
Nov 28, 2023
Nov 20, 2023
Nov 28, 2023
Nov 28, 2023
Nov 23, 2019

ObjectBox Example

The "Notes" example app demonstrate ObjectBox's 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.

Example setup

Just like in any other project, you need to set up CocoaPods and ObjectBox. Simply run ./setup.sh inside this directory, or run these commands in a terminal:

pod install --repo-update # if that fails, update CocoaPods (see Installation)
Pods/ObjectBox/setup.rb

This will generate a NotesExample.xcworkspace that you can launch to try out ObjectBox.