GT2/GT2-iOS/node_modules/react-native-branch/ios/RNBranchAgingItem.m

37 lines
550 B
Mathematica
Raw Normal View History

2018-02-12 17:26:06 +00:00
//
// RNBranchAgingItem.m
// RNBranch
//
// Created by Jimmy Dee on 3/8/17.
// Copyright © 2017 Branch Metrics. All rights reserved.
//
#import "RNBranchAgingItem.h"
@implementation RNBranchAgingItem {
id _item;
}
- (instancetype)initWithItem:(id)item
{
self = [super init];
if (self) {
_item = item;
_accessTime = [NSDate date].timeIntervalSince1970;
}
return self;
}
- (instancetype)init
{
@throw nil;
}
- (id)item
{
_accessTime = [NSDate date].timeIntervalSince1970;
return _item;
}
@end