37 lines
550 B
Objective-C
37 lines
550 B
Objective-C
//
|
|
// 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
|