-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat] #388 - DailySoptuneMain 인터페이스 및 뷰모델 추가
- Loading branch information
Showing
5 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...Projects/Features/DailySoptuneFeature/Interface/Sources/DailySoptuneMainPresentable.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// DailySoptuneMainPresentable.swift | ||
// DailySoptuneFeatureInterface | ||
// | ||
// Created by 강윤서 on 9/26/24. | ||
// Copyright © 2024 SOPT-iOS. All rights reserved. | ||
// | ||
|
||
import BaseFeatureDependency | ||
import Core | ||
|
||
public protocol DailySoptuneMainViewControllable: ViewControllable {} | ||
|
||
public protocol DailySoptuneMainCoordinatable {} | ||
|
||
public typealias DailySoptuneMainViewModelType = ViewModelType & DailySoptuneMainCoordinatable | ||
public typealias DailySoptuneMainPresentable = (vc: DailySoptuneMainViewControllable, vm: any DailySoptuneMainViewModelType) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...s/DailySoptuneFeature/Sources/DailySoptuneScene/ViewModel/DailySoptuneMainViewModel.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// DailySoptuneMainViewModel.swift | ||
// DailySoptuneFeatureInterface | ||
// | ||
// Created by 강윤서 on 9/26/24. | ||
// Copyright © 2024 SOPT-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import Core | ||
|
||
public class DailySoptuneMainViewModel: DailySoptuneMainViewModelType { | ||
|
||
// MARK: - Properties | ||
|
||
private var cancelBag = CancelBag() | ||
|
||
// MARK: - Inputs | ||
|
||
public struct Input { | ||
} | ||
|
||
// MARK: - Outputs | ||
|
||
public struct Output { | ||
} | ||
|
||
// MARK: - Initialization | ||
|
||
public init() { | ||
|
||
} | ||
} | ||
|
||
extension DailySoptuneMainViewModel { | ||
public func transform(from input: Input, cancelBag: CancelBag) -> Output { | ||
let output = Output() | ||
return output | ||
} | ||
} |