We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d77989a + 7ada9b1 commit 27f6094Copy full SHA for 27f6094
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