Skip to content
This repository was archived by the owner on May 15, 2020. It is now read-only.

Commit 301a9b8

Browse files
committed
Update README.md
1 parent 6cc6f81 commit 301a9b8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Say your data looks something like this:
4343

4444
After setting your initial data source, any calls to `-replaceObjects:` or `-mergeObjects:` would look for existing objects with the same `employeeID` and replace those.
4545

46-
If no Primary Key Path is specified, UAFilterableResultsController will just use `isEqual:` when determining quality.
46+
If no Primary Key Path is specified, UAFilterableResultsController will just use `isEqual:` when determining equality.
4747

4848
## Installation
4949

@@ -123,7 +123,7 @@ In addition to manipulating the individual objects you can manipulate entire sec
123123

124124
UAFilterableResultsController also supports searching the data stack for objects. You can use `-objectAtIndexPath:` or `-objectWithPrimaryKey:` for locating known objects, or `-indexPathOfObject:` or `-indexPathOfObjectWithPrimaryKey:` for finding the location of the objects within the data stack.
125125

126-
You can pull the entire data stack with `-data`, or a all objects within the stack using `-allObjects`.
126+
You can pull the entire data stack with `-data`, or all objects within the stack using `-allObjects`.
127127

128128
## Filtering
129129

@@ -136,7 +136,9 @@ A `UAFilter` object is a simple wrapper around an `NSPredicate` that allows for
136136
You can create a `UAFilter` like so:
137137

138138
```objc
139-
UAFilter *filter = [UAFilter filterWithTitle:@"Micro instances" group:@"Instance Types" predicate:[NSPredicate predicateWithFormat:@"instanceType BEGINSWITH[c] \"t1\""]];
139+
UAFilter *filter = [UAFilter filterWithTitle:@"Micro instances"
140+
group:@"Instance Types"
141+
predicate:[NSPredicate predicateWithFormat:@"instanceType BEGINSWITH[c] \"t1\""]];
140142

141143
[self.resultsController addFilter:filter];
142144
```

0 commit comments

Comments
 (0)