https://github.com/hyperoslo/nsmanagedobjectcontext-hypsafesave
Warns you of unsafe NSManagedObjectContext saves
https://github.com/hyperoslo/nsmanagedobjectcontext-hypsafesave
Last synced: over 1 year ago
JSON representation
Warns you of unsafe NSManagedObjectContext saves
- Host: GitHub
- URL: https://github.com/hyperoslo/nsmanagedobjectcontext-hypsafesave
- Owner: hyperoslo
- License: other
- Created: 2014-08-25T12:01:10.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-02-18T11:30:17.000Z (over 11 years ago)
- Last Synced: 2024-11-24T16:49:00.850Z (over 1 year ago)
- Language: Objective-C
- Homepage: http://www.hyper.no
- Size: 409 KB
- Stars: 4
- Watchers: 18
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# NSManagedObjectContext-HYPSafeSave
[](https://travis-ci.org/hyperoslo/NSManagedObjectContext-HYPSafeSave)
[](http://cocoadocs.org/docsets/NSManagedObjectContext-HYPSafeSave)
[](http://cocoadocs.org/docsets/NSManagedObjectContext-HYPSafeSave)
[](http://cocoadocs.org/docsets/NSManagedObjectContext-HYPSafeSave)
When doing `[context save:&error]` warns you about:
- Usage of confinement contexts
- Main context saved in a background thread
- Background context saved in a main thread
## Usage
```objc
#import "NSManagedObjectContext+HYPSafeSave.h"
- (BOOL)save:(NSError * __autoreleasing *)error;
```
## Installation
**NSManagedObjectContext-HYPSafeSave** is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'NSManagedObjectContext-HYPSafeSave', '~> 0.5'
```
## Author
Hyper AS, teknologi@hyper.no
## License
**NSManagedObjectContext-HYPSafeSave** is available under the MIT license. See the LICENSE file for more info.