diff --git a/clients/ios/Classes/AddSiteViewController.m b/clients/ios/Classes/AddSiteViewController.m index 33aeccc2d..9489347e9 100644 --- a/clients/ios/Classes/AddSiteViewController.m +++ b/clients/ios/Classes/AddSiteViewController.m @@ -479,7 +479,7 @@ numberOfRowsInComponent:(NSInteger)component { didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSDictionary *result = [autocompleteResults objectAtIndex:indexPath.row]; [self.siteAddressInput setText:[result objectForKey:@"value"]]; - [self addSite]; +// [self addSite]; // Don't auto-add. Let user select folder. [UIView animateWithDuration:.35 animations:^{ siteScrollView.alpha = 0; }]; diff --git a/clients/ios/Classes/StoryDetailViewController.m b/clients/ios/Classes/StoryDetailViewController.m index 0e61f4962..13bdbf20d 100644 --- a/clients/ios/Classes/StoryDetailViewController.m +++ b/clients/ios/Classes/StoryDetailViewController.m @@ -1837,7 +1837,7 @@ shouldStartLoadWithRequest:(NSURLRequest *)request } - (void)changeWebViewWidth { -// NSLog(@"changeWebViewWidth: %@", NSStringFromCGRect(self.view.frame)); + NSLog(@"changeWebViewWidth: %@", NSStringFromCGRect(self.view.frame)); int contentWidth = self.appDelegate.storyPageControl.view.frame.size.width; UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation; NSString *contentWidthClass; diff --git a/clients/ios/Classes/StoryPageControl.m b/clients/ios/Classes/StoryPageControl.m index 5b7dab6fb..47a8a0373 100644 --- a/clients/ios/Classes/StoryPageControl.m +++ b/clients/ios/Classes/StoryPageControl.m @@ -539,7 +539,7 @@ NSInteger wasIndex = pageController.pageIndex; pageController.pageIndex = newIndex; - NSLog(@"Applied Index: Was %d, now %d (%d/%d/%d) [%d stories - %d]", wasIndex, newIndex, previousPage.pageIndex, currentPage.pageIndex, nextPage.pageIndex, [appDelegate.storiesCollection.activeFeedStoryLocations count], outOfBounds); + NSLog(@"Applied Index: Was %ld, now %ld (%ld/%ld/%ld) [%lu stories - %d]", (long)wasIndex, (long)newIndex, (long)previousPage.pageIndex, (long)currentPage.pageIndex, (long)nextPage.pageIndex, (unsigned long)[appDelegate.storiesCollection.activeFeedStoryLocations count], outOfBounds); if (newIndex > 0 && newIndex >= [appDelegate.storiesCollection.activeFeedStoryLocations count]) { pageController.pageIndex = -2; diff --git a/clients/ios/NewsBlur_Prefix.pch b/clients/ios/NewsBlur_Prefix.pch index 252e01e0e..743695d63 100644 --- a/clients/ios/NewsBlur_Prefix.pch +++ b/clients/ios/NewsBlur_Prefix.pch @@ -5,7 +5,7 @@ #import #import -#define DEBUG 1 +//#define DEBUG 1 //#define PROD_DEBUG 1 #ifdef DEBUG diff --git a/clients/ios/Resources-iPhone/AddSiteViewController.xib b/clients/ios/Resources-iPhone/AddSiteViewController.xib index b66ebf0c9..0017802f8 100644 --- a/clients/ios/Resources-iPhone/AddSiteViewController.xib +++ b/clients/ios/Resources-iPhone/AddSiteViewController.xib @@ -1,8 +1,8 @@ - + - - + + @@ -121,11 +121,11 @@ - + - + @@ -154,10 +154,15 @@ - + - \ No newline at end of file + + + + + +