Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Fixed the GitHub comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RebecaMartin committed Sep 2, 2014
1 parent 64fd796 commit 7cff354
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ - (CGSize)splitViewSizeForOrientation:(UIInterfaceOrientation)theOrientation
float height = fullScreenRect.size.height;

// Correct for orientation.
if (UIInterfaceOrientationIsLandscape(theOrientation) && [[[UIDevice currentDevice] systemVersion] floatValue] < 8) {
if (UIInterfaceOrientationIsLandscape(theOrientation) && !IS_IOS8) {
width = height;
height = fullScreenRect.size.width;
}
Expand Down Expand Up @@ -765,8 +765,7 @@ - (IBAction)toggleSplitOrientation:(id)sender
}


- (IBAction)toggleMasterBeforeDetail:(id)sender
{
- (IBAction)toggleMasterBeforeDetail:(id)sender {
BOOL showingMaster = [self isShowingMaster];
if (showingMaster) {
if (_cornerViews) {
Expand All @@ -785,19 +784,14 @@ - (IBAction)toggleMasterBeforeDetail:(id)sender
}
}

- (void) removeThePopover{
- (void) removeThePopover {

if (_hiddenPopoverController && _hiddenPopoverController.popoverVisible) {
[_hiddenPopoverController dismissPopoverAnimated:NO];
}
}

- (IBAction)toggleMasterView:(id)sender
{
/*if (_hiddenPopoverController && _hiddenPopoverController.popoverVisible) {
[_hiddenPopoverController dismissPopoverAnimated:NO];
}*/

- (IBAction)toggleMasterView:(id)sender {
if (![self isShowingMaster]) {
// We're about to show the master view. Ensure it's in place off-screen to be animated in.
_reconfigurePopup = YES;
Expand Down

0 comments on commit 7cff354

Please sign in to comment.