From 01fd34ee6c88b09227597b0d0ef2051e8de92cf9 Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Tue, 24 Feb 2015 20:34:16 +0000 Subject: [PATCH 1/3] Fixed warnings inside storyboards. --- .../SimpleQueryCollectionStoryboard.storyboard | 17 +++-------------- .../SimpleQueryTableStoryboard.storyboard | 12 ++---------- 2 files changed, 5 insertions(+), 24 deletions(-) diff --git a/ParseUIDemo/Resources/SimpleQueryCollectionStoryboard.storyboard b/ParseUIDemo/Resources/SimpleQueryCollectionStoryboard.storyboard index 8cb8d68..f2265e6 100644 --- a/ParseUIDemo/Resources/SimpleQueryCollectionStoryboard.storyboard +++ b/ParseUIDemo/Resources/SimpleQueryCollectionStoryboard.storyboard @@ -1,8 +1,7 @@ - + - - + @@ -18,17 +17,7 @@ - - - - - - - - - - - + diff --git a/ParseUIDemo/Resources/SimpleQueryTableStoryboard.storyboard b/ParseUIDemo/Resources/SimpleQueryTableStoryboard.storyboard index 6bba9d1..0cbb66c 100644 --- a/ParseUIDemo/Resources/SimpleQueryTableStoryboard.storyboard +++ b/ParseUIDemo/Resources/SimpleQueryTableStoryboard.storyboard @@ -1,8 +1,8 @@ - + - + @@ -13,14 +13,6 @@ - - - - - - - - From 6728d4a9ec2fa4809c2392593aa69fff0e31c390 Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Tue, 24 Feb 2015 20:35:31 +0000 Subject: [PATCH 2/3] Fixed no data displayed in SectionedTableView example. --- .../QueryTableViewController/SectionedTableViewController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SectionedTableViewController.m b/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SectionedTableViewController.m index de16202..6002e07 100644 --- a/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SectionedTableViewController.m +++ b/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SectionedTableViewController.m @@ -72,9 +72,9 @@ - (void)objectsDidLoad:(NSError *)error { [self.tableView reloadData]; } -- (PFObject *)objectAtIndex:(NSIndexPath *)indexPath { - NSArray *sectionAray = _sections[_sectionSortedKeys[indexPath.section]]; - return sectionAray[indexPath.row]; +- (PFObject *)objectAtIndexPath:(NSIndexPath *)indexPath { + NSArray *sectionArray = _sections[_sectionSortedKeys[indexPath.section]]; + return sectionArray[indexPath.row]; } #pragma mark - From 087c2901aec659c7f1e1b1ec89b414b2c15b2355 Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Tue, 24 Feb 2015 20:35:47 +0000 Subject: [PATCH 3/3] Fixed no title in SubtitleImageTable example. --- .../QueryTableViewController/SubtitleImageTableViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SubtitleImageTableViewController.m b/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SubtitleImageTableViewController.m index 4b4e1b4..7dbb0d3 100644 --- a/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SubtitleImageTableViewController.m +++ b/ParseUIDemo/Classes/CustomViewControllers/QueryTableViewController/SubtitleImageTableViewController.m @@ -37,7 +37,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cell = [[PFTableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:cellIdentifier]; } - cell.textLabel.text = object[@"title"]; + cell.textLabel.text = object[@"name"]; cell.detailTextLabel.text = @"@parseit"; cell.imageView.image = [UIImage imageNamed:@"Icon.png"];