Swiftpack.co - stateman92/RealmWrapper as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by stateman92.
stateman92/RealmWrapper 0.0.3
A wrapper around Realm! 🎁
⭐️ 1
🕓 50 weeks ago
iOS
.package(url: "https://github.com/stateman92/RealmWrapper.git", from: "0.0.3")

RealmWrapper

A wrapper around Realm! 🎁

Setup

Add the following to Package.swift:

.package(url: "https://github.com/stateman92/RealmWrapper", exact: .init(0, 0, 3))

Or add the package in Xcode.

Usage

let realm = RealmWrapper()
realm.add(Animal(name: "Tom", age: 3))
// realm.objects(Animal.self)?.count == 1

For details see the Example app.

Tests

The library is well-tested with practically 100% coverage (84.5%).

GitHub

link
Stars: 1
Last commit: 19 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Related Packages

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