Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Literal indentation in example

  • Loading branch information...
commit fbd2c9015f682c10c16f80926c2f679c87edd824 1 parent 5b4506d
@erichoracek authored
Showing with 37 additions and 34 deletions.
  1. +37 −34 Example/Shared/MSMasterViewController.m
View
71 Example/Shared/MSMasterViewController.m
@@ -98,49 +98,52 @@ - (void)initialize
{
self.paneViewControllerType = NSUIntegerMax;
self.paneViewControllerTitles = @{
- @(MSPaneViewControllerTypeAppearanceNone) : @"None",
- @(MSPaneViewControllerTypeAppearanceParallax) : @"Parallax",
- @(MSPaneViewControllerTypeAppearanceZoom) : @"Zoom",
- @(MSPaneViewControllerTypeAppearanceFade) : @"Fade",
- @(MSPaneViewControllerTypeControls) : @"Controls",
- @(MSPaneViewControllerTypeMonospace) : @"Monospace Ltd."
- };
+ @(MSPaneViewControllerTypeAppearanceNone) : @"None",
+ @(MSPaneViewControllerTypeAppearanceParallax) : @"Parallax",
+ @(MSPaneViewControllerTypeAppearanceZoom) : @"Zoom",
+ @(MSPaneViewControllerTypeAppearanceFade) : @"Fade",
+ @(MSPaneViewControllerTypeControls) : @"Controls",
+ @(MSPaneViewControllerTypeMonospace) : @"Monospace Ltd."
+ };
+
#if defined(STORYBOARD)
self.paneViewControllerIdentifiers = @{
- @(MSPaneViewControllerTypeAppearanceNone) : @"PaneViewControllerAppearanceNone",
- @(MSPaneViewControllerTypeAppearanceParallax) : @"PaneViewControllerAppearanceParallax",
- @(MSPaneViewControllerTypeAppearanceZoom) : @"PaneViewControllerAppearanceZoom",
- @(MSPaneViewControllerTypeAppearanceFade) : @"PaneViewControllerAppearanceFade",
- @(MSPaneViewControllerTypeControls) : @"PaneViewControllerControls",
- @(MSPaneViewControllerTypeMonospace) : @"PaneViewControllerMonospace",
- };
+ @(MSPaneViewControllerTypeAppearanceNone) : @"PaneViewControllerAppearanceNone",
+ @(MSPaneViewControllerTypeAppearanceParallax) : @"PaneViewControllerAppearanceParallax",
+ @(MSPaneViewControllerTypeAppearanceZoom) : @"PaneViewControllerAppearanceZoom",
+ @(MSPaneViewControllerTypeAppearanceFade) : @"PaneViewControllerAppearanceFade",
+ @(MSPaneViewControllerTypeControls) : @"PaneViewControllerControls",
+ @(MSPaneViewControllerTypeMonospace) : @"PaneViewControllerMonospace",
+ };
#else
self.paneViewControllerClasses = @{
- @(MSPaneViewControllerTypeAppearanceNone) : MSExampleTableViewController.class,
- @(MSPaneViewControllerTypeAppearanceParallax) : MSExampleTableViewController.class,
- @(MSPaneViewControllerTypeAppearanceZoom) : MSExampleTableViewController.class,
- @(MSPaneViewControllerTypeAppearanceFade) : MSExampleTableViewController.class,
- @(MSPaneViewControllerTypeControls) : MSExampleControlsViewController.class,
- @(MSPaneViewControllerTypeMonospace) : MSMonospaceViewController.class
- };
+ @(MSPaneViewControllerTypeAppearanceNone) : MSExampleTableViewController.class,
+ @(MSPaneViewControllerTypeAppearanceParallax) : MSExampleTableViewController.class,
+ @(MSPaneViewControllerTypeAppearanceZoom) : MSExampleTableViewController.class,
+ @(MSPaneViewControllerTypeAppearanceFade) : MSExampleTableViewController.class,
+ @(MSPaneViewControllerTypeControls) : MSExampleControlsViewController.class,
+ @(MSPaneViewControllerTypeMonospace) : MSMonospaceViewController.class
+ };
#endif
self.paneViewControllerAppearanceTypes = @{
- @(MSPaneViewControllerTypeAppearanceNone) : @(MSNavigationPaneAppearanceTypeNone),
- @(MSPaneViewControllerTypeAppearanceParallax) : @(MSNavigationPaneAppearanceTypeParallax),
- @(MSPaneViewControllerTypeAppearanceZoom) : @(MSNavigationPaneAppearanceTypeZoom),
- @(MSPaneViewControllerTypeAppearanceFade) : @(MSNavigationPaneAppearanceTypeFade),
- };
+ @(MSPaneViewControllerTypeAppearanceNone) : @(MSNavigationPaneAppearanceTypeNone),
+ @(MSPaneViewControllerTypeAppearanceParallax) : @(MSNavigationPaneAppearanceTypeParallax),
+ @(MSPaneViewControllerTypeAppearanceZoom) : @(MSNavigationPaneAppearanceTypeZoom),
+ @(MSPaneViewControllerTypeAppearanceFade) : @(MSNavigationPaneAppearanceTypeFade),
+ };
+
self.sectionTitles = @{
- @(MSMasterViewControllerTableViewSectionTypeAppearanceTypes) : @"Appearance Types",
- @(MSMasterViewControllerTableViewSectionTypeControls) : @"Controls",
- @(MSMasterViewControllerTableViewSectionTypeAbout) : @"About",
- };
+ @(MSMasterViewControllerTableViewSectionTypeAppearanceTypes) : @"Appearance Types",
+ @(MSMasterViewControllerTableViewSectionTypeControls) : @"Controls",
+ @(MSMasterViewControllerTableViewSectionTypeAbout) : @"About",
+ };
+
self.tableViewSectionBreaks = @[
- @(MSPaneViewControllerTypeControls),
- @(MSPaneViewControllerTypeMonospace),
- @(MSPaneViewControllerTypeCount)
- ];
+ @(MSPaneViewControllerTypeControls),
+ @(MSPaneViewControllerTypeMonospace),
+ @(MSPaneViewControllerTypeCount)
+ ];
}
- (MSPaneViewControllerType)paneViewControllerTypeForIndexPath:(NSIndexPath *)indexPath
Please sign in to comment.
Something went wrong with that request. Please try again.