Skip to content

Commit

Permalink
[Chore] #80 - 불필요한 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
JinUng41 committed Jan 18, 2025
1 parent a26fbc1 commit e38b3ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ final class NotificationPageViewController: UIViewController {
navigationOrientation: .horizontal
)
private let currentIndexSubject = CurrentValueSubject<Int, Never>(0)
private let viewDidLoadSubject = PassthroughSubject<Void, Never>()
private let cancelBag = CancelBag()
private let rootView = NotificationPageView()

Expand Down Expand Up @@ -52,8 +51,6 @@ final class NotificationPageViewController: UIViewController {
setupPageViewController()
setupNavigationBar()
setupAction()

viewDidLoadSubject.send(())
}

override func viewWillAppear(_ animated: Bool) {
Expand Down Expand Up @@ -214,7 +211,6 @@ private extension NotificationPageViewController {

func setupBinding() {
let input = NotificationPageViewModel.Input(
viewDidLoad: viewDidLoadSubject.eraseToAnyPublisher(),
currentIndex: currentIndexSubject.eraseToAnyPublisher()
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@
import Foundation
import Combine

final class NotificationPageViewModel {

}

extension NotificationPageViewModel: ViewModelType {
final class NotificationPageViewModel: ViewModelType {
struct Input {
let viewDidLoad: AnyPublisher<Void, Never>
let currentIndex: AnyPublisher<Int, Never>
}

Expand Down

0 comments on commit e38b3ef

Please sign in to comment.