renamed CSFromCreate() to CSFromClass()

This commit is contained in:
John Estropia
2016-06-20 19:36:57 +09:00
parent aa5cd51da6
commit 0b48bb3347
7 changed files with 44 additions and 44 deletions

View File

@@ -66,7 +66,7 @@ public final class CSFrom: NSObject, CoreStoreObjectiveCType {
/**
Initializes a `CSFrom` clause with the specified entity class.
```
MyPersonEntity *people = [transaction fetchAllFrom:CSFromCreate([MyPersonEntity class])];
MyPersonEntity *people = [transaction fetchAllFrom:CSFromClass([MyPersonEntity class])];
```
- parameter entityClass: the `NSManagedObject` class type to be created
@@ -81,7 +81,7 @@ public final class CSFrom: NSObject, CoreStoreObjectiveCType {
Initializes a `CSFrom` clause with the specified configurations.
```
MyPersonEntity *people = [transaction fetchAllFrom:
CSFromCreate([MyPersonEntity class], @"Config1")];
CSFromClass([MyPersonEntity class], @"Config1")];
```
- parameter configuration: the `NSPersistentStore` configuration name to associate objects from. This parameter is required if multiple configurations contain the created `NSManagedObject`'s entity type. Set to `[NSNull null]` to use the default configuration.
@@ -106,7 +106,7 @@ public final class CSFrom: NSObject, CoreStoreObjectiveCType {
Initializes a `CSFrom` clause with the specified configurations.
```
MyPersonEntity *people = [transaction fetchAllFrom:
CSFromCreate([MyPersonEntity class],
CSFromClass([MyPersonEntity class],
@[[NSNull null], @"Config1"])];
```