mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-15 13:28:18 +00:00
Summary: Product needs show that section controllers need some sort of awarenes when they are the first/last section in a list (e.g. for cell borders). Adding this simple API, non-breaking. Reviewed By: jessesquires Differential Revision: D4016023 fbshipit-source-id: c75f9298fc73875a1cabad191fe2db6cb9ee4376
26 lines
880 B
Objective-C
26 lines
880 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) BOOL isFirstSection;
|
|
|
|
@property (nonatomic, assign, readwrite) BOOL isLastSection;
|
|
|
|
@end
|