Update README.md

This commit is contained in:
Shial 2017-12-27 14:52:52 +11:00 committed by GitHub
parent a3f000a541
commit 8a859a03a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -51,10 +51,13 @@ For positive experience, you should configure `SLazeKit` at first. This step is
```swift
import SLazeKit
/// Required override of this method which will provide Context for bacground execution.
///
/// - Returns: NSManagedObjectContext
open class func newBackgroundContext() -> NSManagedObjectContext? { return nil }
extension SLazeKit {
/// Required override of this method which will provide Context for bacground execution.
///
/// - Returns: NSManagedObjectContext
open class func newBackgroundContext() -> NSManagedObjectContext? { return nil }
}
```
This step is optional. You may leave it as it is default.
```swift