mirror of
https://github.com/TencentCloud/TIMSDK.git
synced 2026-10-21 16:56:02 +08:00
26 lines
557 B
Swift
26 lines
557 B
Swift
//
|
|
// MainMenuItemModel.swift
|
|
// TRTCScene
|
|
//
|
|
// Created by adams on 2021/5/11.
|
|
//
|
|
import UIKit
|
|
|
|
struct MainMenuItemModel {
|
|
let imageName: String
|
|
let title: String
|
|
let content: String
|
|
let selectHandle: () -> Void
|
|
|
|
var iconImage: UIImage? {
|
|
UIImage.init(named: imageName)
|
|
}
|
|
|
|
init(imageName: String, title: String, content: String, selectHandle: @escaping () -> Void) {
|
|
self.imageName = imageName
|
|
self.title = title
|
|
self.content = content
|
|
self.selectHandle = selectHandle
|
|
}
|
|
}
|