Skip to content

Commit

Permalink
Block code formatting fix to NSIncrementalStore post
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Aug 13, 2012
1 parent 6df7484 commit 9fedfd8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions 2012-08-13-nsincrementalstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ With `NSIncrementalStore`, developers now have a sanctioned, reasonable means to

`loadMetadata:` is where the incremental store has a chance to configure itself. There is, however, a bit of Kabuki theater boilerplate that's necessary to get everything set up. Specifically, you need to set a UUID for the store, as well as the store type. Here's what that looks like:

```
NSMutableDictionary *mutableMetadata = [NSMutableDictionary dictionary];
[mutableMetadata setValue:[[NSProcessInfo processInfo] globallyUniqueString] forKey:NSStoreUUIDKey];
[mutableMetadata setValue:[[self class] type] forKey:NSStoreTypeKey];
[self setMetadata:mutableMetadata];
```

### `executeRequest:withContext:error:`

Expand Down

0 comments on commit 9fedfd8

Please sign in to comment.