Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix method capitalization.

  • Loading branch information...
commit 46a0c899420d09bbd09193f11f828ee5b1423a79 1 parent 4d165ed
@joe-goullaud joe-goullaud authored
View
2  RZCollectionList-Demo/RZCollectionList-Demo/Classes/ViewControllers/FetchedListViewController.m
@@ -49,7 +49,7 @@ - (void)viewDidLoad
self.navigationItem.rightBarButtonItem = self.addItemBarButton;
NSFetchRequest *request = [NSFetchRequest fetchRequestWithEntityName:@"ListItem" sortDescriptorKey:@"itemName" ascending:YES];
- self.fetchedList = [[RZFetchedCollectionList alloc] initWIthFetchRequest:request
+ self.fetchedList = [[RZFetchedCollectionList alloc] initWithFetchRequest:request
managedObjectContext:self.moc
sectionNameKeyPath:@"subtitle"
cacheName:nil];
View
2  RZCollectionList/RZFetchedCollectionList.h
@@ -15,6 +15,6 @@
@property (nonatomic, strong) NSFetchedResultsController *controller;
- (id)initWithFetchedResultsController:(NSFetchedResultsController*)controller;
-- (id)initWIthFetchRequest:(NSFetchRequest*)fetchRequest managedObjectContext:(NSManagedObjectContext*)context sectionNameKeyPath:(NSString*)sectionNameKeyPath cacheName:(NSString*)name;
+- (id)initWithFetchRequest:(NSFetchRequest*)fetchRequest managedObjectContext:(NSManagedObjectContext*)context sectionNameKeyPath:(NSString*)sectionNameKeyPath cacheName:(NSString*)name;
@end
View
2  RZCollectionList/RZFetchedCollectionList.m
@@ -31,7 +31,7 @@ @interface RZFetchedCollectionList () <NSFetchedResultsControllerDelegate>
@implementation RZFetchedCollectionList
@synthesize delegate = _delegate;
-- (id)initWIthFetchRequest:(NSFetchRequest*)fetchRequest managedObjectContext:(NSManagedObjectContext*)context sectionNameKeyPath:(NSString*)sectionNameKeyPath cacheName:(NSString*)name
+- (id)initWithFetchRequest:(NSFetchRequest*)fetchRequest managedObjectContext:(NSManagedObjectContext*)context sectionNameKeyPath:(NSString*)sectionNameKeyPath cacheName:(NSString*)name
{
return [self initWithFetchedResultsController:[[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest managedObjectContext:context sectionNameKeyPath:sectionNameKeyPath cacheName:name]];
}
Please sign in to comment.
Something went wrong with that request. Please try again.