File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,3 @@ typedef NSString * UIApplicationOpenURLOptionsKey;
2323#ifndef NS_STRING_ENUM
2424#define NS_STRING_ENUM
2525#endif
26-
27- @interface NSLocale (BranchAvailability)
28- - (NSString *) countryCode ;
29- - (NSString *) languageCode ;
30- @end
Original file line number Diff line number Diff line change 2525#import < arpa/inet.h>
2626#import < netinet/in.h>
2727
28+ // Forward declare this for older versions of iOS
29+ @interface NSLocale (BranchAvailability)
30+ - (NSString *) countryCode ;
31+ - (NSString *) languageCode ;
32+ @end
33+
2834#pragma mark BRNNetworkInfo
2935
3036typedef NS_ENUM (NSInteger , BNCNetworkAddressType) {
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Branch iOS SDK Change Log
66 * Fixed update / install tracking when app installed but not run for a while. (#763 )
77 * Added some code for Will's AppsFlyer integration in the Swift test bed. (#767 )
88 * Added ` limit_facebook_tracking ` to allow developers to opt-out of Facebook app tracking (AIS-417).
9+ * Moved the forward declaration of ` [NSLocal countryCode] ` so that it doesn't interfere with
10+ newer Swift compilations.
911
1012- v0.21.14
1113 * _ * Master Release* _ - December 8, 2017
You can’t perform that action at this time.
0 commit comments