[0.1.9] Prepare new release

This commit is contained in:
Shial 2018-05-31 12:43:22 +10:00
parent a3c031fb6a
commit ae18d59467
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class func getRequest(for modelId: String, success: @escaping ((Model?) ->()), f
}
```
If `ResponseModel` conforms to `EntityMapping` protocol it will be synchronize with CoreData. That means if mode object already exist it will update it or creat new instance and fill `NSManagedObject` with response data. You can serialize your response to recive `CoreData` object on given context by:
If `ResponseModel` conforms to `EntityMapping` protocol it will be synchronize with CoreData. That means if mode object already exist it will update it or create new instance and fill `NSManagedObject` with response data. You can serialize your response to receive `CoreData` object on given context by:
```swift
try result?.serialized(NSManagedObjectContext) as? Model)

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SLazeKit'
s.version = '0.1.8'
s.version = '0.1.9'
s.summary = 'Swift restful manager.'
s.description = <<-DESC
SLazeKit is an easy to use Swift restful collection of extensions and classes. Don't spend hours writing your code to map your rest api request into models and serialization. stop wasting your time!