-
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
Refactor/data layer (3) #86
Conversation
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.
κ³ μνμ ¨μ΅λλ€. μ€λ PRλ€ λ³΄λ, μ΄μ μ§μ§ λ§μ§λ§μ΄ λ€κ°μμμ μκ²λλ€μ. λ¨μκΈ°κ°λμ λ§λ¬΄λ¦¬ μν΄λ΄ μλ€.
final class RepositoryManager { | ||
static let shared = RepositoryManager() | ||
private init() { } | ||
|
||
var disposeBag: DisposeBag = DisposeBag() | ||
} |
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.
μκ°ν΄λ³΄λ μ΄λ°©μμ μ μν νμκ° μμ λ― ν©λλ€. fetch()λ©μλ λ±μ΄ μ€νλ λλ§λ€ κΈ°μ‘΄μ disposableμ΄ disposeλμ§ μκ³ μλ‘μ΄ disposableμ΄ μμ±λ κ² κ°λ€μ.
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.
μ΄ λΆλΆμ λν΄μλ μ κ° μ§μμ΄ μ‘°κΈ λΆμ‘±ν κ² κ°λ€μ μ‘°κΈ λ 곡λΆν΄λ³΄κ² μ΅λλ€ π κ°μ¬ν©λλ€
// // when | ||
// let output = questViewModel.transform(input: QuestViewModel.Input(viewDidLoad: .just(Date()).asObservable(), itemDidClicked: .just(<#T##element: Quest##Quest#>)), disposeBag: disposeBag) | ||
// | ||
// // then | ||
// output | ||
// .data | ||
// .drive(onNext: { quests in | ||
// print(quests) | ||
// expectation.fulfill() | ||
// }) | ||
// .disposed(by: disposeBag) | ||
// | ||
// wait(for: [expectation], timeout: 1) |
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.
λ³κ²½λ λΆλΆμ λ§κ² ν
μ€νΈ μ½λ μμ ν΄λκ² μ΅λλ€.
ps. test κ΄λ ¨λ 컀λ°μ [test]λΌκ³ λ¬μμ£ΌμΈμ!
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.
λ΅ νμΈνμ΅λλ€!
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.
λ§λ¬΄λ¦¬λ μκΈ°νλ λΆλΆμ΄κ΅°μ© κ³ μνμ ¨μ΅λλ€.
κ³ μνμ ¨μ΅λλ€!!! |
π Issue Number
Close #83
π μμ λ΄μ
π μμ μ ν
π 체ν¬λ¦¬μ€νΈ
π PR νΉμ΄ μ¬ν