-
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 #421 from qonversion/release/5.4.0
Release 5.4.0
- Loading branch information
Showing
16 changed files
with
250 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,32 @@ | ||
// | ||
// QONSubscriptionPeriod.h | ||
// Qonversion | ||
// | ||
// Created by Suren Sarkisyan on 24.11.2023. | ||
// Copyright © 2023 Qonversion Inc. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
typedef NS_ENUM(NSInteger, QONSubscriptionPeriodUnit) { | ||
QONSubscriptionPeriodUnitDay = 0, | ||
QONSubscriptionPeriodUnitWeek = 1, | ||
QONSubscriptionPeriodUnitMonth = 2, | ||
QONSubscriptionPeriodUnitYear = 3 | ||
} NS_SWIFT_NAME(Qonversion.SubscriptionPeriodUnit); | ||
|
||
API_AVAILABLE(ios(11.2), macosx(10.13.2), watchos(6.2), tvos(11.2)) | ||
NS_SWIFT_NAME(Qonversion.SubscriptionPeriod) | ||
@interface QONSubscriptionPeriod : NSObject | ||
|
||
@property (nonatomic, assign) QONSubscriptionPeriodUnit unit; | ||
|
||
@property (nonatomic, assign) NSUInteger unitCount; | ||
|
||
+ (NSString *)unitStringFormat:(QONSubscriptionPeriodUnit)unit; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.