UnReceiptInfo.m 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // UnReceiptInfo.m
  3. // IBOSS
  4. //
  5. // Created by guan hong hou on 16/4/14.
  6. // Copyright © 2017年 沈阳东科云信软件有限公司. All rights reserved.
  7. // 功能描述:解析配送未回执信息类
  8. #import "UnReceiptInfo.h"
  9. #import "UnReceiptListModel.h"
  10. #import "UnReceiptListFrame.h"
  11. @implementation UnReceiptInfo
  12. #pragma mark - 公有函数
  13. /**
  14. 初始化
  15. @return <#return value description#>
  16. */
  17. - (id)init
  18. {
  19. self = [super init];
  20. if(self){
  21. _unDeliveryInfoArr = [[NSMutableArray alloc]init];
  22. }
  23. return self;
  24. }
  25. #pragma mark - 私有函数
  26. /**
  27. 解析未回执数组
  28. @param arr <#arr description#>
  29. */
  30. - (void)parseUnDeliveryInfoArr:(NSMutableArray *)arr
  31. {
  32. if(arr != nil)
  33. {
  34. [_unDeliveryInfoArr removeAllObjects];
  35. for(int i=0;i<arr.count;i++)
  36. {
  37. UnReceiptListModel *model = [ UnReceiptListModel dk_modelWithDictionary:arr[i]];
  38. UnReceiptListFrame *listFrame = [UnReceiptListFrame new];
  39. [listFrame setUnReceiptListFrame:model];
  40. [_unDeliveryInfoArr addObject:listFrame];
  41. }
  42. }
  43. }
  44. @end