12345678910111213141516171819202122232425 |
- //
- // FKActivityCardViewModel.m
- // FirstLink
- //
- // Created by ascii on 16/4/8.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import "FKActivityCardViewModel.h"
- @implementation FKActivityCardViewModel
- - (NSInteger)numberOfRowsInSection:(NSInteger)section {
- return self.itemsArray.count;
- }
- - (FKCouponItem *)itemAtIndex:(NSInteger)index {
- if (index < self.itemsArray.count) {
- return self.itemsArray[index];
- }
- return nil;
- }
- @end
|