https://github.com/polidea/plcoredatautils
A set of helper methods for CoreData
https://github.com/polidea/plcoredatautils
Last synced: about 1 year ago
JSON representation
A set of helper methods for CoreData
- Host: GitHub
- URL: https://github.com/polidea/plcoredatautils
- Owner: Polidea
- Created: 2012-10-30T12:48:35.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-08-03T13:53:15.000Z (almost 10 years ago)
- Last Synced: 2024-03-15T01:03:28.618Z (over 2 years ago)
- Language: Objective-C
- Size: 27.3 KB
- Stars: 6
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
---
__This repository is no longer maintained. Issue reports and pull requests will not be attended.__
---
# PLCoreDataUtils
## Installation
* Add the files to your project (each class can be used separately)
## Usage
### NSManagedObjectContext+PLCoreDataUtils category
Methods for common tasks on NSManagedObjectContext:
* different types of fetch (single/multiple objects, sorting, etc)
* fetch or insert if not present
* entity cloning
### PLCoreDataStack
Given a main context, setups a small main/background context stack.
* category for propagated saves
### PLDataSetMerger
Tool for tracking entities that should be removed after parsing a list of objects in network request response. Instead of removing all entities of a type, you:
* add them to the set before parsing
* 'mark' them if they are mentioned in the list
* after parsing order the set to remove the unmentioned entities
---
Copyright (c) 2012 Polidea. This software is licensed under the BSD License.