-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from boostcampwm2023/iOS/feat#21
✨ feat: HomeViewController 캐러셀 레이아웃 구현
- Loading branch information
Showing
11 changed files
with
180 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
iOS/Layover/Layover/Scenes/Home/Cell/HomeCarouselCollectionViewCell.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// | ||
// HomeCarouselCollectionViewCell.swift | ||
// Layover | ||
// | ||
// Created by 김인환 on 11/16/23. | ||
// Copyright © 2023 CodeBomber. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
final class HomeCarouselCollectionViewCell: UICollectionViewCell { | ||
|
||
// MARK: - Properties | ||
|
||
// MARK: - UI Components | ||
|
||
// MARK: - Object lifecycle | ||
|
||
override init(frame: CGRect) { | ||
super.init(frame: frame) | ||
setup() | ||
setConstraints() | ||
} | ||
|
||
required init?(coder: NSCoder) { | ||
super.init(coder: coder) | ||
setup() | ||
setConstraints() | ||
} | ||
|
||
// MARK: - Setup | ||
|
||
private func setup() { | ||
backgroundColor = .white | ||
} | ||
|
||
private func setConstraints() { | ||
|
||
} | ||
|
||
// MARK: - Methods | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// HomeConfigurator.swift | ||
// Layover | ||
// | ||
// Created by 김인환 on 11/16/23. | ||
// Copyright © 2023 CodeBomber. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
final class HomeConfigurator: Configurator { | ||
|
||
static let shared = HomeConfigurator() | ||
|
||
private init() { } | ||
|
||
func configure(_ viewController: HomeViewController) { | ||
let router = HomeRouter() | ||
router.viewController = viewController | ||
|
||
let presenter = HomePresenter() | ||
presenter.viewController = viewController | ||
|
||
let interactor = HomeInteractor() | ||
interactor.presenter = presenter | ||
interactor.worker = HomeWorker() | ||
|
||
viewController.router = router | ||
viewController.interactor = interactor | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.