12345678910111213141516171819202122232425262728293031323334 |
- //
- // FKMyVipViewModel.h
- // FirstLink
- //
- // Created by jack on 15/9/14.
- // Copyright (c) 2015年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "FKVipInfoItem.h"
- #import "FKVipBuyRuleItem.h"
- typedef NS_ENUM(NSInteger, kCardSegmentType) {
- kCardSegmentTypeVip,
- kCardSegmentTypeSuperVip,
- };
- @interface FKMyVipViewModel : NSObject
- @property (nonatomic, strong) FKVipInfoItem *infoItem;
- @property (nonatomic, strong) NSArray<FKVipBuyRuleItem *> *ruleItemArray;
- @property (nonatomic, assign) kCardSegmentType segmentType;
- - (FKVipBuyRuleItem *)itemAtIndexPath:(NSIndexPath *)indexPath;
- - (UIImage *)imageAtIndex:(NSInteger)index;
- - (NSAttributedString *)attributedTitleAtIndex:(NSInteger)index;
- @end
|