forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResourceReference.m
More file actions
39 lines (34 loc) · 998 Bytes
/
ResourceReference.m
File metadata and controls
39 lines (34 loc) · 998 Bytes
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
//
// ResourceReference.m
// Coding_iOS
//
// Created by Ease on 16/2/23.
// Copyright © 2016年 Coding. All rights reserved.
//
#import "ResourceReference.h"
@implementation ResourceReference
- (instancetype)init
{
self = [super init];
if (self) {
_propertyArrayMap = @{@"Task": @"ResourceReferenceItem",
@"MergeRequestBean": @"ResourceReferenceItem",
@"ProjectTopic": @"ResourceReferenceItem",
@"ProjectFile": @"ResourceReferenceItem",
};
}
return self;
}
- (NSMutableArray *)itemList{
if (!_itemList) {
_itemList = [NSMutableArray new];
[_itemList addObjectsFromArray:_Task];
[_itemList addObjectsFromArray:_ProjectTopic];
[_itemList addObjectsFromArray:_ProjectFile];
[_itemList addObjectsFromArray:_MergeRequestBean];
}
return _itemList;
}
@end
@implementation ResourceReferenceItem
@end