Swiftpack.co - jeka-mel/Basement as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A lightweight wrapper on Realm. Provides isolation of persistence layer, Realm files management, more thread safety and a bit more.
.package(url: "https://github.com/jeka-mel/Basement.git", from: "0.6")


A lightweight wrapper on Realm to isolate and simplyfy a persistence layer of your iOS app.


  • Wraps Realm library instances:

    Yes, Realm is great, but library gets changed over the time and following the best practices, it shuold be isolated from the rest of the app so all lib's updates/changes/glitches could stay udater the hood.

  • Realm files management:

    Adds ability to easily switch between different Realm file sets (databases).

  • Adds more more thread safety so you could put a closer look on your app, not to Realm data managment rules:

    Each wrapped Realm instance is being held on independent thread and deallocated automatically once not used.

  • Brings ability to make read, filter & more requests to Realm objects by using a KeyPath.


Stars: 0
Last commit: 4 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.


Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics