12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // YMMessagesViewModel.m
- // MSYOUPAI
- //
- // Created by YoMi on 2024/3/2.
- // Copyright © 2024 MS. All rights reserved.
- //
- #import "YMMessagesViewModel.h"
- @interface YMMessagesViewModel ()
- /// 聊天记录VM
- @property (nonatomic, strong, readwrite) YMChatRecordViewModel *chatRecordVM;
- /// 通话记录VM
- @property (nonatomic, strong, readwrite) YMCallRecordViewModel *callRecordVM;
- @end
- @implementation YMMessagesViewModel
- - (void)ym_initialize{
- [super ym_initialize];
-
- }
- - (YMChatRecordViewModel *)chatRecordVM{
- if (!_chatRecordVM) {
- _chatRecordVM = [[YMChatRecordViewModel alloc]initWithParams:@{}];
- }
- return _chatRecordVM;
- }
- - (YMCallRecordViewModel *)callRecordVM{
- if (!_callRecordVM) {
- _callRecordVM = [[YMCallRecordViewModel alloc]initWithParams:@{}];
- }
- return _callRecordVM;
- }
- @end
|