-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from BranchMetrics/more-fixes
More fixes
- Loading branch information
Showing
107 changed files
with
3,244 additions
and
1,418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 17 additions & 9 deletions
26
...ependencies/Branch-SDK/BNCXcode7Support.h → ...dependencies/Branch-SDK/BNCAvailability.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
// | ||
// BNCXcode7Support.h | ||
// Branch-TestBed | ||
// BNCAvailability.h | ||
// Branch-SDK | ||
// | ||
// Created by Edward on 10/26/16. | ||
// Copyright © 2016 Branch Metrics. All rights reserved. | ||
// | ||
|
||
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED < 100000 | ||
#warning Warning: Compiling with Xcode 7 support | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
|
||
@interface NSLocale (BranchXcode7Support) | ||
- (NSString*) countryCode; | ||
- (NSString*) languageCode; | ||
@end | ||
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_10_0 | ||
#warning Warning: Compiling with pre-iOS 10 / Xcode 7 support. | ||
|
||
typedef NSString * UIActivityType; | ||
typedef NSString * UIApplicationOpenURLOptionsKey; | ||
|
||
#endif | ||
|
||
#ifndef NS_STRING_ENUM | ||
#define NS_STRING_ENUM | ||
#endif | ||
|
||
@interface NSLocale (BranchAvailability) | ||
- (NSString*) countryCode; | ||
- (NSString*) languageCode; | ||
@end |
8 changes: 3 additions & 5 deletions
8
...ependencies/Branch-SDK/BNCXcode7Support.m → ...dependencies/Branch-SDK/BNCAvailability.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.