mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-06 15:08:50 +00:00
Summary: In T97824645 a test that was failing for other reason was fixed and started failing because it could not compile IGListKit. The problem is that IGListKit was not prepared to be compiled for Mac Catalyst since it was only testing for iOS platforms to include UIKit. These changes modify the header to work in Mac Catalyst. Differential Revision: D30410680 fbshipit-source-id: f886826b9c485acfb039a9e681afd85f9186c344
14 lines
353 B
Objective-C
14 lines
353 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <TargetConditionals.h>
|
|
|
|
#if TARGET_OS_EMBEDDED || TARGET_OS_SIMULATOR || TARGET_OS_MACCATALYST
|
|
#import <UIKit/UIKit.h>
|
|
#else
|
|
#import <Cocoa/Cocoa.h>
|
|
#endif
|