12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // CGXVerticalMenuCollectionItemModel.m
- // CGXVerticalMenuView-OC
- //
- // Created by CGX on 2018/05/01.
- // Copyright © 2019 CGX. All rights reserved.
- //
- #import "CGXVerticalMenuCollectionItemModel.h"
- @interface CGXVerticalMenuCollectionItemModel()
- @end
- @implementation CGXVerticalMenuCollectionItemModel
- - (instancetype)init
- {
- self = [super init];
- if (self) {
-
- [self initializeData];
- }
- return self;
- }
- - (void)initializeData
- {
- self.itemSpace = 0;
- self.itemCornerRadius = 10;
- self.itemBborderWidth = 0;
- self.itemBorderColor = [UIColor colorWithRed:204/255.0 green:204/255.0 blue:204/255.0 alpha:1];
- self.itemBgColor = [[UIColor whiteColor] colorWithAlphaComponent:0];
- self.itemColor = [UIColor blackColor];
- self.itemFont = [UIFont systemFontOfSize:12];
- self.numberOfLines = 1;
- self.itemHeight = 30;
- }
- @end
|