Skip to content

Commit 6c86bef

Browse files
committed
updated viewkit
added navigaiton title in presenter and swift testing for navigation title
1 parent 1b59923 commit 6c86bef

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

ICTMDBHomeModule/HomePresenter.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ extension HomePresenter: ViewToPresenterHomeProtocol {
5454

5555
func viewDidLoad() {
5656
view?.setBackColorAble(color: "backColor")
57+
//TODO: move to Localizable
58+
view?.setNavigationTitle(title: "Home Page")
5759
interactor.loadPopularMovies()
5860
interactor.loadAiringMovies()
5961
}

ICTMDBHomeModule/HomeProtocols.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import UIKit
1313

1414
// MARK: - Typealias
1515
/// Combines UIViewAble and SegueAble protocols for convenience.
16-
typealias Ables = UIViewAble & SegueAble
16+
typealias Ables = UIViewAble & SegueAble & NavConUIAble
1717

1818
// MARK: - View → Presenter
1919
/// Protocol for communication from View to Presenter.

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ let package = Package(
1515
],
1616
dependencies: [
1717
.package(url: "https://github.com/SnapKit/SnapKit.git", from: "5.0.1"),
18-
.package(url: "https://github.com/engingulek/GenericCollectionViewKit",from:"0.0.1"),
18+
.package(url: "https://github.com/engingulek/GenericCollectionViewKit",from:"0.0.2"),
1919
.package(url: "https://github.com/engingulek/ICTMDBModularProtocols", from: "0.0.1"),
20-
.package(url: "https://github.com/engingulek/ICTMDBNetworkManagerKit", from: "0.0.1"),
21-
.package(url: "https://github.com/engingulek/ICTMDBViewKit", from: "0.0.1"),
20+
.package(url: "https://github.com/engingulek/ICTMDBNetworkManagerKit", from: "0.0.2"),
21+
.package(url: "https://github.com/engingulek/ICTMDBViewKit", from: "0.0.3"),
2222
.package(url: "https://github.com/engingulek/HPDependencyKit", from: "1.0.0"),
2323
],
2424
targets: [

0 commit comments

Comments
 (0)