Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit fe572c2

Browse files
author
Scott Goodson
committed
Exclude all of ASMultiplexImageNode from tvOS - for now.
1 parent 28b03e3 commit fe572c2

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

AsyncDisplayKit/ASMultiplexImageNode.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
* of patent rights can be found in the PATENTS file in the same directory.
77
*/
88

9+
#if TARGET_OS_IOS
10+
911
#import <AsyncDisplayKit/ASImageNode.h>
1012
#import <AsyncDisplayKit/ASImageProtocols.h>
11-
#if TARGET_OS_IOS
1213
#import <Photos/Photos.h>
13-
#endif
14+
1415
NS_ASSUME_NONNULL_BEGIN
1516

1617
@protocol ASMultiplexImageNodeDelegate;
@@ -265,4 +266,6 @@ didFinishDownloadingImageWithIdentifier:(ASImageIdentifier)imageIdentifier
265266
@end
266267
#endif
267268

268-
NS_ASSUME_NONNULL_END
269+
NS_ASSUME_NONNULL_END
270+
271+
#endif

AsyncDisplayKit/ASMultiplexImageNode.mm

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* of patent rights can be found in the PATENTS file in the same directory.
77
*/
88

9-
#import "ASMultiplexImageNode.h"
109
#if TARGET_OS_IOS
10+
11+
#import "ASMultiplexImageNode.h"
1112
#import <AssetsLibrary/AssetsLibrary.h>
1213

1314
#import <Photos/Photos.h>
14-
#endif
1515
#import <libkern/OSAtomic.h>
1616

1717
#import "ASAvailability.h"
@@ -726,4 +726,6 @@ + (NSURL *)URLWithAssetLocalIdentifier:(NSString *)assetLocalIdentifier targetSi
726726
}
727727

728728
@end
729-
#endif
729+
#endif
730+
731+
#endif

0 commit comments

Comments
 (0)