| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // ParseInstallReceiptListModel.m
- // IBOSS
- //
- // Created by apple on 16/1/8.
- // Copyright © 2017年 沈阳东科云信软件有限公司. All rights reserved.
- // 功能描述:解析安装已回执类
- #import "ParseInstallReceiptList.h"
- #import "InstallReceiptListModel.h"
- #import "InstallReceiptedListFrame.h"
- @implementation ParseInstallReceiptList
- #pragma mark - 公共函数
- /**
- 初始化对象
- @return <#return value description#>
- */
- - (id)init
- {
- self = [super init];
- if(self){
- self.infoArr = [[NSMutableArray alloc]init];
- }
- return self;
- }
- #pragma mark - 私有函数
- /**
- 解析安装回执数组
- @param arr <#arr description#>
- */
- - (void)parseInstallReceiptInfoArr:(NSMutableArray *)arr
- {
- if(arr != nil)
- {
- [self.infoArr removeAllObjects];
- for(int i = 0;i < arr.count;i++)
- {
- InstallReceiptListModel *model = [InstallReceiptListModel dk_modelWithDictionary:arr[i]];
- InstallReceiptedListFrame *frame = [InstallReceiptedListFrame new];
- [frame setInstallationListFrame:model];
- [self.infoArr addObject:frame];
- }
- }
- }
- @end
|