Skip to content

Commit 847a863

Browse files
authored
Merge pull request #12 from engingulek/feature/update-view-kit
added navigation title
2 parents 57a611b + 51fb13f commit 847a863

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

ICTMDBDetailModule/DetailPresenter.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ final class TvShowDetailPresenter {
2424

2525
func viewDidLoad() {
2626
view?.setBackColorAble(color: "backColor")
27+
view?.setNavigationTitle(title: "Detail")
2728
// view?.prepareCollectionView()
2829
}
2930
}

ICTMDBDetailModule/DetailProtocols.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Engin Gülek on 12.11.2025.
66
//
77

8-
typealias Ables = UIViewAble
8+
typealias Ables = UIViewAble & NavConUIAble
99
import ICTMDBViewKit
1010
import GenericCollectionViewKit
1111

ICTMDBDetailModule/cells/season/SeasonPresentation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension SeasonPresentation {
2626
self.poster = "https://image.tmdb.org/t/p/w500\(season.posterPath ?? "")"
2727
self.seasonTitle = season.name ?? ""
2828
self.airdate = "\(LocalizableUI.firstAirDate.localized) : \( season.airDate?.toLongDateString() ?? "N/A")"
29-
self.episodeCount = "\(LocalizableUI.season.localized) \( season.episodeCount == 0 ? "-" : "\(season.episodeCount ?? 0)")"
29+
self.episodeCount = "\(LocalizableUI.episodes.localized) \( season.episodeCount == 0 ? "-" : "\(season.episodeCount ?? 0)")"
3030

3131
self.rating = "⭐️ \(season.voteAverage ?? 0)"
3232
}

Package.resolved

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

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let package = Package(
1818
.package(url: "https://github.com/engingulek/GenericCollectionViewKit",from:"0.0.2"),
1919
.package(url: "https://github.com/engingulek/ICTMDBModularProtocols", from: "0.0.1"),
2020
.package(url: "https://github.com/engingulek/ICTMDBNetworkManagerKit", from: "0.0.2"),
21-
.package(url: "https://github.com/engingulek/ICTMDBViewKit", 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)