12345678910111213141516171819202122232425262728 |
- //
- // MTBaseView.m
- //
- // Created by Simon on 2019/3/22.
- // Copyright © 2019 Simon. All rights reserved.
- //
- #import "MTBaseView.h"
- @implementation MTBaseView
- - (instancetype)initWithFrame:(CGRect)frame{
- self = [super initWithFrame:frame];
- if (self) {
- [self bindViewModel];
- [self makeSubViews];
- }
- return self;
- }
- - (instancetype)initWithViewModel:(id)viewModel {
- self = [super init];
- if (self) {
- }
- return self;
- }
- - (void)bindViewModel{}
- -(void)makeSubViews{}
- @end
|