Skip to content

Commit a22823a

Browse files
authored
Import Foundation first. (#820)
1 parent 6e94234 commit a22823a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Branch-SDK/Branch-SDK/BranchCSSearchableItemAttributeSet.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
// Copyright © 2015 Branch Metrics. All rights reserved.
77
//
88

9+
#if __has_feature(modules)
10+
@import Foundation;
11+
#else
12+
#import <Foundation/Foundation.h>
13+
#endif
14+
915
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
1016
#pragma clang diagnostic push
1117
#pragma clang diagnostic ignored "-Wpartial-availability"

Branch-SDK/Branch-SDK/BranchCSSearchableItemAttributeSet.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
// Copyright © 2015 Branch Metrics. All rights reserved.
77
//
88

9+
#import "BranchCSSearchableItemAttributeSet.h"
10+
911
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
1012
#pragma clang diagnostic push
1113
#pragma clang diagnostic ignored "-Wpartial-availability"
1214

13-
#import "BranchCSSearchableItemAttributeSet.h"
1415
#import "Branch.h"
1516
#import "BNCSystemObserver.h"
1617

0 commit comments

Comments
 (0)