-
Notifications
You must be signed in to change notification settings - Fork 244
/
CountlyExperimentInformation.m
44 lines (34 loc) · 1.1 KB
/
CountlyExperimentInformation.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// CountlyExperimentInfo.m
//
// This code is provided under the MIT License.
//
// Please visit www.count.ly for more information.
#import "CountlyExperimentInformation.h"
@interface CountlyExperimentInformation ()
@property (nonatomic) NSString* experimentID;
@property (nonatomic) NSString* experimentName;
@property (nonatomic) NSString* experimentDescription;
@property (nonatomic) NSString* currentVariant;
@property (nonatomic) NSDictionary* variants;
@end
@implementation CountlyExperimentInformation
- (instancetype)init
{
if (self = [super init])
{
}
return self;
}
- (instancetype)initWithID:(NSString*)experimentID experimentName:(NSString*)experimentName experimentDescription:(NSString*)experimentDescription currentVariant:(NSString*)currentVariant variants:(NSDictionary*)variants
{
if (self = [super init])
{
self.experimentID = experimentID;
self.experimentName = experimentName;
self.experimentDescription = experimentDescription;
self.currentVariant = currentVariant;
self.variants = variants;
}
return self;
}
@end