A powerful and elegant Core Data framework for Swift that simplifies data persistence and querying.
AlecrimCoreData is a Swift framework that simplifies working with Apple's Core Data persistence layer. It provides a clean, type-safe API for querying and managing data, reducing the boilerplate code typically associated with Core Data operations. The framework makes Core Data more approachable while maintaining its full power and flexibility.
Swift developers building iOS, macOS, watchOS, or tvOS applications that require local data persistence using Core Data. It's particularly valuable for developers who want a more modern, Swift-native interface to Core Data.
Developers choose AlecrimCoreData because it dramatically reduces Core Data's complexity with an elegant, type-safe API that feels native to Swift. Unlike raw Core Data, it eliminates much of the boilerplate while providing intuitive querying through Swift key paths and closures.
Core Data made simple.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses Swift key paths and closures for intuitive filtering and sorting, as shown in README examples with \.city and \.name, eliminating string-based errors common in raw Core Data.
Provides a performBackgroundTask helper method, making it easy to handle Core Data operations on background contexts without boilerplate, evident in the second code snippet.
Works seamlessly across macOS, iOS, watchOS, and tvOS, as highlighted in the platform badges, allowing shared codebases for Apple ecosystem apps.
Eliminates much of Core Data's boilerplate with a fluent API, improving readability and maintainability, as demonstrated in the clean query examples.
Version 7.0 is labeled as beta, indicating potential bugs, incomplete features, or breaking changes before final release, which risks production stability.
The README explicitly states 'New docs soon...', suggesting current documentation is lacking and may hinder onboarding and troubleshooting.
Introduces a third-party framework that must be integrated and updated, complicating project setup compared to using raw Core Data directly.