AlecrimCoreData alternatives and similar libraries
Based on the "Core Data" category.
Alternatively, view AlecrimCoreData alternatives based on common mentions on social networks and blogs.
-
PrediKit
An NSPredicate DSL for iOS, OSX, tvOS, & watchOS. Inspired by SnapKit and lovingly written in Swift. -
Skopelos
A minimalistic, thread safe, non-boilerplate and super easy to use version of Active Record on Core Data. Simply all you need for doing Core Data. Swift flavour. -
SLRESTfulCoreData
Objc naming conventions, autogenerated accessors at runtime, URL substitutions and intelligent attribute mapping. -
JustPersist
JustPersist is the easiest and safest way to do persistence on iOS with Core Data support out of the box. -
PredicateFlow
Write amazing, strong-typed and easy-to-read NSPredicate, allowing you to write flowable NSPredicate, without guessing attribution names, predicate operation or writing wrong arguments type.
Get performance insights in less than 4 minutes.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of AlecrimCoreData or a related project?
README
A powerful and elegant Core Data framework for Swift.
Usage
Beta version. New docs soon...
Simple do that:
let query = persistentContainer.viewContext.people
.where { \.city == "Piracicaba" }
.orderBy { \.name }
for person in query.dropFirst(20).prefix(10) {
print(person.name, person.address)
}
Or that:
persistentContainer.performBackgroundTask { context in
let query = context.people
.filtered(using: \.country == "Brazil" && \.isContributor == true)
.sorted(by: .descending(\.contributionCount))
.sorted(by: \.name)
if let person = query.first() {
print(person.name, person.email)
}
}
After that:
import AlecrimCoreData
extension ManagedObjectContext {
var people: Query<Person> { return Query(in: self) }
}
let persistentContainer = PersistentContainer()
And after your have created your matching managed object model in Xcode, of course. ;-)
Contribute
If you have any problems or need more information, please open an issue using the provided GitHub link.
You can also contribute by fixing errors or creating new features. When doing this, please submit your pull requests to this repository as I do not have much time to "hunt" forks for not submitted patches.
- master - The production branch. Clone or fork this repository for the latest copy.
- develop - The active development branch. Pull requests should be directed to this branch.
Contact the author
License
AlecrimCoreData is released under an MIT license. See LICENSE for more information.
*Note that all licence references and agreements mentioned in the AlecrimCoreData README section above
are relevant to that project's source code only.