If you’ve ever needed a database for your iOS app, you’ve probably had to manage schemas, tables, query strings and all sorts of overhead. Moreover, whenever you wanted to modify the structure of your database, you had to write migration code so that your users’ data would be upgraded to fit the new structure.
Wouldn’t it be nice if your database just did all that for you, automatically? That was what we thought when we designed ObjectBox. ObjectBox thinks the way a Swift developer does: You take your objects and stick them in a box. You use regular Swift methods and operators to search for objects in your database. You add or remove fields and the database just copes with it. And you can use it right now.
We’re happy to share our first Swift version of the ObjectBox database for iOS and macOS! We want to give you a Swift “native” API without any ObjectiveC legacy shining through, which is why we decided to put Swift, with its unique language features, first. We really want your feedback on this to improve swiftly, for example on our query API (more details below):
We’re happy to announce that our embedded database ObjectBox now officially runs on all major desktop platforms. This enables Java-based desktop apps on Windows, macOS, and Linux to utilize ObjectBox’ simplicity and performance.
From the beginning, ObjectBox has been created to run on multiple platforms. While our primary release target was Android, internally we ran ObjectBox mostly on desktop machines. This minimized turnaround and running times, and thus increased developer productivity greatly. Next step will be iOS… stay tuned.
If you are developing Android apps, you can use the desktop version of ObjectBox to run local unit tests. This has already been available for Linux and Windows machines for a while, and was recently complemented with the macOS release of ObjectBox.
Not running Java? We’re also working on a public C++ API: Talk to us if you are interested in a private beta.