Skip to content

Commit

Permalink
πŸ’„ [style] ν•˜λ‹¨ λ―Έλ‹ˆν”Œλ ˆμ΄μ–΄λ‘œ κ°€λ €μ§€λŠ” 뢀뢄을 κ°œμ„ ν•˜κΈ° μœ„ν•΄ 슀크둀뷰 ν•˜λ‹¨ λ§ˆμ§„μ„ μΆ”κ°€
Browse files Browse the repository at this point in the history
  • Loading branch information
leeari95 committed Nov 23, 2024
1 parent 3a7d75e commit 5dda55f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class CatalogViewController: UIViewController {
tableView.backgroundColor = .clear
tableView.registerNib(CategoryRow.self)
tableView.contentInsetAdjustmentBehavior = .always
tableView.contentInset.bottom = 60
return tableView
}()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class SectionsScrollView: UIView {
scrollView.backgroundColor = .clear
scrollView.showsVerticalScrollIndicator = false
scrollView.showsHorizontalScrollIndicator = false
scrollView.contentInset.bottom = 60
return scrollView
}()

Expand Down

0 comments on commit 5dda55f

Please sign in to comment.