홈 - 하단 탭 추가
This commit is contained in:
22
SodaLive/Sources/Main/Home/HomeViewModel.swift
Normal file
22
SodaLive/Sources/Main/Home/HomeViewModel.swift
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// HomeViewModel.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/09.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Combine
|
||||
|
||||
final class HomeViewModel: ObservableObject {
|
||||
|
||||
private var subscription = Set<AnyCancellable>()
|
||||
|
||||
private let userRepository = UserRepository()
|
||||
|
||||
enum CurrentTab: String {
|
||||
case content, live, explorer, message, mypage
|
||||
}
|
||||
|
||||
@Published var currentTab: CurrentTab = .live
|
||||
}
|
Reference in New Issue
Block a user