Permalink
Browse files

Fix method capitalization.

  • Loading branch information...
1 parent 4d165ed commit 46a0c899420d09bbd09193f11f828ee5b1423a79 @joe-goullaud joe-goullaud committed Dec 13, 2012
@@ -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];
@@ -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
@@ -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]];
}

0 comments on commit 46a0c89

Please sign in to comment.