File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ //
2+ // HomeProtocols.swift
3+ // ICTMDBHomeModule
4+ //
5+ // Created by Engin Gülek on 12.11.2025.
6+ //
7+
8+ import UIKit
9+
10+
11+
12+ protocol ViewToPresenterHomeProtocol : AnyObject
13+ {
14+ var view : PresenterToViewHomeProtocol ? { get }
15+ func viewDidLoad( )
16+ }
17+
18+
19+ protocol PresenterToViewHomeProtocol : AnyObject {
20+ func relaodCollectionView( )
21+ func sendError( errorState: ( isHidden: Bool , message: String ) )
22+ func startLoading( )
23+ func finishLoading( )
24+ }
25+
26+
27+ protocol PresenterToInteractorHomeProtocol {
28+ var presenter : InteractorToPresenterHomeProtocol ? { get set }
29+ func loadPopularMovies( )
30+ func loadAiringMovies( )
31+ }
32+
33+
34+ protocol InteractorToPresenterHomeProtocol {
35+ func sendPopularTvShows( )
36+ func sendAiringTvShows( )
37+ func sendError( )
38+ }
39+
40+ protocol PresenterToRouterHomeProtocol {
41+ func toAllListPage( view: PresenterToViewHomeProtocol ? )
42+ func toDetailPage( view: PresenterToViewHomeProtocol ? )
43+ }
44+
45+
You can’t perform that action at this time.
0 commit comments