12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // XYPersonalCenterListModel.m
- // Starbuds
- //
- // Created by 翟玉磊 on 2019/12/21.
- // Copyright © 2019 翟玉磊. All rights reserved.
- //
- #import "XYPersonalCenterListModel.h"
- @implementation XYPersonalCenterListModel
- - (instancetype)init {
- if (self = [super init]) {
-
- _iconName = @"";
- _title = @"";
- _content = @"";
- _pushControllerName = @"";
- _isShowMoreImage = YES;
- _borderType = 0;
- }
- return self;
- }
- + (XYPersonalCenterListModel *)createListModelWithIconName:(NSString *)iconName title:(NSString *)title content:(NSString *)content isShowMoreImage:(BOOL)isShowMoreImage pushControllerName:(NSString *)pushControllerName borderType:(UIRectCorner)borderType {
- XYPersonalCenterListModel *model = [XYPersonalCenterListModel new];
- model.iconName = iconName;
- model.title = title;
- model.content = content;
- model.isShowMoreImage = isShowMoreImage;
- model.pushControllerName = pushControllerName;
- model.borderType = borderType;
- return model;
- }
- @end
|