홈 - 하단 탭 추가

This commit is contained in:
Yu Sung
2023-08-09 21:20:09 +09:00
parent 10aebcc981
commit 2456c897c3
30 changed files with 595 additions and 5 deletions

View 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
}