Last month I mentioned an interesting faster than SQLite database with code based queries and support for Swift language features called Realm.
Here’s a library submitted by Vanderlei Martinelli called AlecrimCoreData that provides a Swift based wrapper for Core Data inspired by MagicalRecord and Linq.
AlecrimCoreData provides extensive features for fetching, creating, updating and saving entities and allows you to easily fetch and save entities in a background thread if desired.
Here’s an example from the readme showing how to do some basic core data fetching:
println(person.firstName)
}
And a fetching example skipping and taking some results:
You can find AlecrimCoreData on Github here.
A nice library for working with Swift in Core Data.
- An Rspec Inspired Behavior Driven Testing Framework For Swift
- Open Source Library Providing A Core Data Query Language For Swift
- Open Source Library Bringing Microsoft .NET Linq Style Queries To Objective-C Collections
- An Open Source Swift Math Library Inspired By Python’s NumPy
- Extensive Swift Utility Library Inspired By Python’s Standard Library
Original article: Extensive Open Source Swift Based Core Data Wrapper With A MagicalRecord And Linq Inspired Syntax
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




