From 5dda55fa1ca05da681eec47b6eb1d4a313418bf8 Mon Sep 17 00:00:00 2001 From: Ari Date: Sat, 23 Nov 2024 18:20:03 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20[style]=20=ED=95=98=EB=8B=A8=20?= =?UTF-8?q?=EB=AF=B8=EB=8B=88=ED=94=8C=EB=A0=88=EC=9D=B4=EC=96=B4=EB=A1=9C?= =?UTF-8?q?=20=EA=B0=80=EB=A0=A4=EC=A7=80=EB=8A=94=20=EB=B6=80=EB=B6=84?= =?UTF-8?q?=EC=9D=84=20=EA=B0=9C=EC=84=A0=ED=95=98=EA=B8=B0=20=EC=9C=84?= =?UTF-8?q?=ED=95=B4=20=EC=8A=A4=ED=81=AC=EB=A1=A4=EB=B7=B0=20=ED=95=98?= =?UTF-8?q?=EB=8B=A8=20=EB=A7=88=EC=A7=84=EC=9D=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Presentation/Animals/ViewControllers/NPCViewController.swift | 1 + .../Animals/ViewControllers/VillagersViewController.swift | 1 + .../Catalog/ViewControllers/CatalogViewController.swift | 1 + .../Catalog/ViewControllers/ItemsViewController.swift | 1 + .../ViewControllers/CollectionProgressViewController.swift | 1 + .../Collection/ViewControllers/CollectionViewController.swift | 1 + .../Presentation/Dashboard/Views/shared/SectionsScrollView.swift | 1 + 7 files changed, 7 insertions(+) diff --git a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/NPCViewController.swift b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/NPCViewController.swift index a6ddc3cd..a00687d5 100644 --- a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/NPCViewController.swift +++ b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/NPCViewController.swift @@ -47,6 +47,7 @@ class NPCViewController: UIViewController { flowLayout.minimumLineSpacing = 20 let collectionView = UICollectionView(frame: .zero, collectionViewLayout: flowLayout) collectionView.backgroundColor = .clear + collectionView.contentInset.bottom = 60 collectionView.showsHorizontalScrollIndicator = false collectionView.registerNib(VillagersCell.self) return collectionView diff --git a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/VillagersViewController.swift b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/VillagersViewController.swift index cb334528..426e04d3 100644 --- a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/VillagersViewController.swift +++ b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Animals/ViewControllers/VillagersViewController.swift @@ -55,6 +55,7 @@ class VillagersViewController: UIViewController { flowLayout.minimumLineSpacing = 20 let collectionView = UICollectionView(frame: .zero, collectionViewLayout: flowLayout) collectionView.backgroundColor = .clear + collectionView.contentInset.bottom = 60 collectionView.showsHorizontalScrollIndicator = false collectionView.registerNib(VillagersCell.self) return collectionView diff --git a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/CatalogViewController.swift b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/CatalogViewController.swift index 989cab11..e308dace 100644 --- a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/CatalogViewController.swift +++ b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/CatalogViewController.swift @@ -18,6 +18,7 @@ class CatalogViewController: UIViewController { tableView.backgroundColor = .clear tableView.registerNib(CategoryRow.self) tableView.contentInsetAdjustmentBehavior = .always + tableView.contentInset.bottom = 60 return tableView }() diff --git a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/ItemsViewController.swift b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/ItemsViewController.swift index e30f131c..9b191c0c 100644 --- a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/ItemsViewController.swift +++ b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Catalog/ViewControllers/ItemsViewController.swift @@ -83,6 +83,7 @@ class ItemsViewController: UIViewController { flowLayout.minimumLineSpacing = 20 let collectionView = UICollectionView(frame: .zero, collectionViewLayout: flowLayout) collectionView.backgroundColor = .clear + collectionView.contentInset.bottom = 60 collectionView.showsHorizontalScrollIndicator = false collectionView.registerNib(CatalogCell.self) return collectionView diff --git a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionProgressViewController.swift b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionProgressViewController.swift index 82506209..45c58c2c 100644 --- a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionProgressViewController.swift +++ b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionProgressViewController.swift @@ -15,6 +15,7 @@ class CollectionProgressViewController: UIViewController { private lazy var tableView: UITableView = { let tableView = UITableView(frame: .zero, style: .insetGrouped) tableView.backgroundColor = .clear + tableView.contentInset.bottom = 60 tableView.registerNib(ItemProgressRow.self) return tableView }() diff --git a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionViewController.swift b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionViewController.swift index 1eef88e0..d8f5cc24 100644 --- a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionViewController.swift +++ b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Collection/ViewControllers/CollectionViewController.swift @@ -15,6 +15,7 @@ class CollectionViewController: UIViewController { private lazy var tableView: UITableView = { let tableView = UITableView(frame: .zero, style: .insetGrouped) tableView.backgroundColor = .clear + tableView.contentInset.bottom = 60 tableView.registerNib(CategoryRow.self) return tableView }() diff --git a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Dashboard/Views/shared/SectionsScrollView.swift b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Dashboard/Views/shared/SectionsScrollView.swift index a0f7dfe5..6a12cfa6 100644 --- a/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Dashboard/Views/shared/SectionsScrollView.swift +++ b/Animal-Crossing-Wiki/Projects/App/Sources/Presentation/Dashboard/Views/shared/SectionsScrollView.swift @@ -14,6 +14,7 @@ class SectionsScrollView: UIView { scrollView.backgroundColor = .clear scrollView.showsVerticalScrollIndicator = false scrollView.showsHorizontalScrollIndicator = false + scrollView.contentInset.bottom = 60 return scrollView }()