mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-06 06:58:26 +00:00
Summary: 1. The "Empty View" and CV background view are different things. People can now differentiate. 2. The Empty View isn't created until it is needed. 3. The Empty View moves with Refresh Controls.  - [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. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/462 Reviewed By: rnystrom Differential Revision: D4502591 Pulled By: dshahidehpour fbshipit-source-id: b72b444c1197c90c385c7414f0662299070a86d1
21 lines
662 B
Objective-C
21 lines
662 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 <Foundation/Foundation.h>
|
|
|
|
#import <IGListKit/IGListAdapterDataSource.h>
|
|
|
|
@interface IGListTestAdapterDataSource : NSObject <IGListAdapterDataSource>
|
|
|
|
// array of numbers which is then passed to -[IGListTestSection setItems:]
|
|
@property (nonatomic, strong) NSArray <NSNumber *> *objects;
|
|
|
|
@property (nonatomic, strong) UIView *emptyView;
|
|
|
|
@end
|