Skip to content

Commit

Permalink
[feat] #242: FindWantZatchSearchViewModel 일부 책임 인터페이스 설계
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-muuu committed May 22, 2023
1 parent 1be9b68 commit 4cb4fd7
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ import Foundation
import RxSwift
import RxCocoa

protocol GetPopularSearchKeywordInterface{
var popularKeywords: [String] { get }
}

protocol GetWantZatchKeywordInterface{
var lookingForZatches : [String] { get }
}

protocol FindWantZatchViewModelInterface: BaseViewModel, GetPopularSearchKeywordInterface, GetWantZatchKeywordInterface {
func viewDidLoad()
}

class FindWantZatchSearchViewModel: BaseViewModel{

private var searchPopularKeywords = ["몰랑이","몰랑몰랑","몰랑"] //최대 3개
Expand Down

0 comments on commit 4cb4fd7

Please sign in to comment.