ADMagazine/AdMagazine/ModelController.h

/*
 Copyright (C) 2015 Apple Inc. All Rights Reserved.
 See LICENSE.txt for this sample’s licensing information
 
 Abstract:
 The data model controller that manages our view controller pages.
 */
 
@import UIKit;
 
@class DataViewController;
 
@interface ModelController : NSObject <UIPageViewControllerDataSource>
 
- (DataViewController *)viewControllerAtIndex:(NSUInteger)index storyboard:(UIStoryboard *)storyboard;
- (NSUInteger)indexOfViewController:(DataViewController *)viewController;
 
@end