IGListKit/Source/Internal/IGListSectionControllerInternal.h
Ryan Nystrom 0a416914d5 Rename sectionIndex API to just section
Summary:
Quick rename before releasing 3.0 to get this API in parity w/ `isFirstSection` and `isLastSection`. My b I should have caught this in review.

Closes #720

Reviewed By: jessesquires, amonshiz

Differential Revision: D5031184

fbshipit-source-id: 1cd7b00c8b32084fecd861e78808eea0d0056337
2017-05-11 14:49:59 -07:00

28 lines
941 B
Objective-C

/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "IGListSectionController.h"
FOUNDATION_EXTERN void IGListSectionControllerPushThread(UIViewController *viewController, id<IGListCollectionContext> collectionContext);
FOUNDATION_EXTERN void IGListSectionControllerPopThread(void);
@interface IGListSectionController()
@property (nonatomic, weak, readwrite) id<IGListCollectionContext> collectionContext;
@property (nonatomic, weak, readwrite) UIViewController *viewController;
@property (nonatomic, assign, readwrite) NSInteger section;
@property (nonatomic, assign, readwrite) BOOL isFirstSection;
@property (nonatomic, assign, readwrite) BOOL isLastSection;
@end