Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
PhotoMap/PhotosViewController/ModelController.h
/* |
Copyright (C) 2018 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
The model or data source for PhotosViewController. |
*/ |
@import UIKit; |
@class DataViewController; |
@interface ModelController : NSObject <UIPageViewControllerDataSource> |
@property (strong, nonatomic) NSArray *pageData; |
@property (assign) NSInteger currentPageIndex; |
- (DataViewController *)viewControllerAtIndex:(NSUInteger)index storyboard:(UIStoryboard *)storyboard; |
- (NSUInteger)indexOfViewController:(DataViewController *)viewController; |
@end |
Copyright © 2018 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2018-04-26