-
Notifications
You must be signed in to change notification settings - Fork 23
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 #119 from qonversion/release/2.8.0
Release/2.8.0
- Loading branch information
Showing
32 changed files
with
651 additions
and
31 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// QNExperimentGroup+Protected.h | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 15.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import "QNExperimentGroup.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface QNExperimentGroup (Protected) | ||
|
||
- (instancetype)initWithType:(QNExperimentGroupType)type; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// QNExperimentGroup.h | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 15.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
typedef NS_ENUM(NSInteger, QNExperimentGroupType) { | ||
QNExperimentGroupTypeA = 0, | ||
QNExperimentGroupTypB | ||
} NS_SWIFT_NAME(Qonversion.ExperimentGroupType); | ||
|
||
NS_SWIFT_NAME(Qonversion.ExperimentGroup) | ||
@interface QNExperimentGroup : NSObject | ||
|
||
@property (nonatomic, assign) QNExperimentGroupType type; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// QNExperimentGroup.m | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 15.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import "QNExperimentGroup.h" | ||
|
||
@implementation QNExperimentGroup | ||
|
||
- (instancetype)initWithType:(QNExperimentGroupType)type { | ||
self = [super init]; | ||
|
||
if (self) { | ||
_type = type; | ||
} | ||
|
||
return self; | ||
} | ||
|
||
@end |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// QNExperimentInfo+Protected.h | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 15.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import "QNExperimentInfo.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface QNExperimentInfo (Protected) | ||
|
||
- (instancetype)initWithIdentifier:(NSString *)identifier group:(QNExperimentGroup *)group; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// QNExperimentInfo.h | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 15.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@class QNExperimentGroup; | ||
|
||
NS_SWIFT_NAME(Qonversion.ExperimentInfo) | ||
@interface QNExperimentInfo : NSObject | ||
|
||
@property (nonatomic, copy) NSString *identifier; | ||
@property (nonatomic, strong) QNExperimentGroup *group; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// QNExperimentInfo.m | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 15.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import "QNExperimentInfo.h" | ||
|
||
@implementation QNExperimentInfo | ||
|
||
- (instancetype)initWithIdentifier:(NSString *)identifier group:(QNExperimentGroup *)group { | ||
self = [super init]; | ||
|
||
if (self) { | ||
_identifier = identifier; | ||
_group = group; | ||
} | ||
|
||
return self; | ||
} | ||
|
||
@end |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// QNIntroEligibility+Protected.h | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 14.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import "QNIntroEligibility.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface QNIntroEligibility (Protected) | ||
|
||
- (instancetype)initWithStatus:(QNIntroEligibilityStatus)status; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// QNIntroEligibility.h | ||
// Qonversion | ||
// | ||
// Created by Surik Sarkisyan on 14.01.2021. | ||
// Copyright © 2021 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
typedef NS_ENUM(NSInteger, QNIntroEligibilityStatus) { | ||
QNIntroEligibilityStatusUnknown = 0, | ||
QNIntroEligibilityStatusNonIntroProduct, | ||
QNIntroEligibilityStatusIneligible, | ||
QNIntroEligibilityStatusEligible | ||
} NS_SWIFT_NAME(Qonversion.IntroEligibilityStatus); | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
NS_SWIFT_NAME(Qonversion.IntroEligibility) | ||
@interface QNIntroEligibility : NSObject | ||
|
||
@property (nonatomic, assign, readonly) QNIntroEligibilityStatus status; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.