Support Project Catalyst (#1398)

Summary:
## Changes in this pull request

Add support when compile Catalyst.
Fix this error: `Cannot define category for undefined class 'IGListAdapter'`
![Screenshot 2019-11-22 at 22 35 31](https://user-images.githubusercontent.com/14871122/69440931-49979c80-0d7c-11ea-8673-f9b8a60441f0.jpg)

## Step To Reproduce
In the Main target, check the Mac under Deployment Info, more Info in [here](https://developer.apple.com/documentation/uikit/mac_catalyst?language=objc)

### Checklist

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [ ] 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)
Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1398

Differential Revision: D18687673

Pulled By: lorixx

fbshipit-source-id: b5b9aa60406c9b66a48abbdfeea2bc5f44c9ca66
This commit is contained in:
Jefferson Setiawan 2019-11-25 10:48:44 -08:00 committed by Facebook Github Bot
parent 36da20119c
commit f50f3c7ef6
4 changed files with 6 additions and 4 deletions

View file

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
#import <IGListKit/IGListKit.h>
#import <IGListKit/IGListAdapter.h>
@interface IGListAdapter (DebugDescription)

View file

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
#import <IGListKit/IGListKit.h>
#import <IGListKit/IGListAdapterUpdater.h>
@interface IGListAdapterUpdater (DebugDescription)

View file

@ -5,7 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/
#import <IGListKit/IGListKit.h>
#import <UIKit/UIKit.h>
#import <IGListDiffKit/IGListBatchUpdateData.h>
@interface IGListBatchUpdateData (DebugDescription)

View file

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
#import <IGListKit/IGListKit.h>
#import <IGListKit/IGListBindingSectionController.h>
@interface IGListBindingSectionController (DebugDescription)