mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-14 21:08:48 +00:00
Summary: If a negative height/width comes down, cap it to `0.0`. Issue fixed: #566 Also fixes t16455632 internally. - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. Closes https://github.com/Instagram/IGListKit/pull/583 Differential Revision: D4797520 Pulled By: jessesquires fbshipit-source-id: 3eeec5244a445bb451460286b4f006ca0d9c67d1
26 lines
805 B
Objective-C
26 lines
805 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 <UIKit/UIKit.h>
|
|
|
|
#import <IGListKit/IGListKit.h>
|
|
|
|
@interface IGTestSupplementarySource : NSObject <IGListSupplementaryViewSource>
|
|
|
|
@property (nonatomic, assign) BOOL dequeueFromNib;
|
|
|
|
@property (nonatomic, assign) CGSize size;
|
|
|
|
@property (nonatomic, strong, readwrite) NSArray<NSString *> *supportedElementKinds;
|
|
|
|
@property (nonatomic, weak) id<IGListCollectionContext> collectionContext;
|
|
|
|
@property (nonatomic, weak) IGListSectionController<IGListSectionType> *sectionController;
|
|
|
|
@end
|