-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/browse use case, viewModel #63
Conversation
β¦ailyQuest into feature/BrowseUseCase # Conflicts: # DailyQuest/DailyQuest/Presentation/Browse/ViewModel/BrowseViewModel.swift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ’μ κ² κ°μ΅λλ€ κ³ μνμ ¨μ΅λλ€!
|
||
import RxSwift | ||
|
||
protocol BrowseUseCase { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UseCaseκΉμ§ protocolλ‘ λ§λμ μ΄μ κ° κΆκΈν©λλΉ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μμ‘΄μ±κ΄λ¦¬μ μμ΄μ ꡬν체μ μμ‘΄νκΈ° 보λ€λ μ΅λν μΆμνλ κ·Έκ²μ μμ‘΄νκ² νκΈ° μν΄μμ λλ€. λ ν¬μ§ν 리λ μ΄λ¬ν λ§₯λ½μ΄λΌκ³ μκ°ν΄μ! κ·Έλ¦¬κ³ view modelμ μμ±νλ μμ μμλ μκ°νκΈ°κ° λ νΈν κ²μ΄λΌ μκ°ν©λλ€. viewmodelμμ 무μμ λ£μΌλ©΄(input) 무μμ΄ λμ¬μ§(output)μ κ΄ν΄μλ§ μκ°ν μ μμ΄μμ :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ κ·Έλ κ΅°μ© μ λ repositoryλ Use Case μͺ½μΌλ‘ μμ‘΄μ±μ ν₯ν΄μΌνλ€κ³ μκ°ν΄μ κ·Έκ±°λ₯Ό ν΄κ²°νκΈ° μν΄ repositoryλ protocolλ‘ κ΅¬ννλ€κ³ μκ°νμ΅λλ€.
κ·Έλμ viewμͺ½μμλ μμ‘΄μ±μ΄ λΉμ°ν Use Caseλ‘ ν₯ν΄μ νμμλ€κ³ μκ°νμ΅λλ€.
λ΅λ³ν΄μ£Όμ
μ κ°μ¬ν¨λλΉ
π Issue Number
Close #59 #61
π μμ λ΄μ
π μμ μ ν
π 체ν¬λ¦¬μ€νΈ
π PR νΉμ΄ μ¬ν