We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d77989a commit 7ada9b1Copy full SHA for 7ada9b1
2 files changed
ICTMDBDetailModule/DetailInteractor.swift
@@ -10,7 +10,7 @@ import ICTMDBNetworkManagerKit
10
final class TvShowDetailInteractor : @preconcurrency PresenterToInteractorTvShowDetailProtocol {
11
12
13
- var presenter: (any InteractorToPresenterTvShowDetailProtocol)?
+ weak var presenter: (any InteractorToPresenterTvShowDetailProtocol)?
14
15
private let network : NetworkManagerProtocol
16
ICTMDBDetailModule/DetailProtocols.swift
@@ -46,7 +46,7 @@ enum TvShowInteractorResult {
46
case sendError(_ error:TvShowErrorType)
47
}
48
49
-protocol InteractorToPresenterTvShowDetailProtocol {
+protocol InteractorToPresenterTvShowDetailProtocol : AnyObject {
50
func onHandle(handle:TvShowInteractorResult)
51
52
0 commit comments