All Projects → Alecrim → Alecrimcoredata

Alecrim / Alecrimcoredata

Licence: mit
Core Data made simple.

Programming Languages

swift
15916 projects

Labels

Projects that are alternatives of or similar to Alecrimcoredata

UITableView-Examples
UITableView の設置例まとめ for Objective-C
Stars: ✭ 13 (-98.33%)
Mutual labels:  coredata
Sworm
CoreData based Swift ORM
Stars: ✭ 70 (-91.01%)
Mutual labels:  coredata
Cleanarchitecturerxswift
Example of Clean Architecture of iOS app using RxSwift
Stars: ✭ 3,256 (+317.97%)
Mutual labels:  coredata
Project01-C-User-Event-Collector
💜🎷 네이버 VIBE 사용자 이벤트 수집기 🎷💜
Stars: ✭ 21 (-97.3%)
Mutual labels:  coredata
Uber
iOS Ride-Sharing App written in Swift 4 Using Map Kit and Core Data
Stars: ✭ 30 (-96.15%)
Mutual labels:  coredata
SwiftUICoreData
SwiftUI Integration With CoreData FetchedRequest property wrapper
Stars: ✭ 16 (-97.95%)
Mutual labels:  coredata
Stack
A Type-Safe, Thread-Safe-ish approach to CoreData in Swift
Stars: ✭ 47 (-93.97%)
Mutual labels:  coredata
Fasteasymapping
A tool for fast serializing & deserializing of JSON
Stars: ✭ 556 (-28.63%)
Mutual labels:  coredata
MGCleanArchitecture
Clean Architecture with RxSwift & MVVM - Templates and Solutions
Stars: ✭ 156 (-79.97%)
Mutual labels:  coredata
Synckit
Automatic CloudKit synchronization
Stars: ✭ 280 (-64.06%)
Mutual labels:  coredata
iOS-Shared-CoreData-Storage-for-App-Groups
iOS Shared CoreData Storage for App Groups
Stars: ✭ 48 (-93.84%)
Mutual labels:  coredata
NYTimes-iOS
🗽 NY Times is an Minimal News 🗞 iOS app 📱 built to describe the use of SwiftSoup and CoreData with SwiftUI🔥
Stars: ✭ 152 (-80.49%)
Mutual labels:  coredata
Habit-Calendar
A simple habit tracking iOS app
Stars: ✭ 33 (-95.76%)
Mutual labels:  coredata
CoreDataToSwiftUI
Rule based CRUD CoreData Frontends for SwiftUI
Stars: ✭ 18 (-97.69%)
Mutual labels:  coredata
Groot
From JSON to Core Data and back.
Stars: ✭ 533 (-31.58%)
Mutual labels:  coredata
PizzaDelivery
Pizza Delivery is an open source sample app with robust and professional features. This is a fully realized built entirely in Swift.
Stars: ✭ 20 (-97.43%)
Mutual labels:  coredata
CoreDataMigrationRevised-Example
An example project showing how to implement progressive Core Data migrations
Stars: ✭ 54 (-93.07%)
Mutual labels:  coredata
Ios Viper Architecture
This repository contains a detailed sample app that implements VIPER architecture in iOS using libraries and frameworks like Alamofire, AlamofireImage, PKHUD, CoreData etc.
Stars: ✭ 578 (-25.8%)
Mutual labels:  coredata
Jsqcoredatakit
A swifter Core Data stack
Stars: ✭ 549 (-29.53%)
Mutual labels:  coredata
Corestore
Unleashing the real power of Core Data with the elegance and safety of Swift
Stars: ✭ 3,254 (+317.72%)
Mutual labels:  coredata

AlecrimCoreData

Version Language: swift Platforms License: MIT Author: Vanderlei Martinelli

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 the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].