mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-06 08:53:25 +08:00
Trailing whitespace cleanup from files in the Code directory.
Used the following command from within the Code dir: git ls-files *.m *.h *.json | xargs /usr/bin/sed -i '' -E 's/[[:space:]]*$//'
This commit is contained in:
@@ -36,9 +36,9 @@ static char searchIndexerAssociationKey;
|
||||
- (void)addSearchIndexingToEntityForName:(NSString *)entityName onAttributes:(NSArray *)attributes
|
||||
{
|
||||
NSAssert(! self.persistentStoreCoordinator, @"Add indexing to your entities before adding persistent stores. The managed object model must be mutable to add indexing.");
|
||||
|
||||
|
||||
if (! self.searchIndexer) [self createSearchIndexer];
|
||||
|
||||
|
||||
NSEntityDescription *entity = [[self.managedObjectModel entitiesByName] objectForKey:entityName];
|
||||
[RKSearchIndexer addSearchIndexingToEntity:entity onAttributes:attributes];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user