Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GWL-219] 설정 화면 흐름 UI 구현 #253

Merged
merged 20 commits into from
Dec 6, 2023
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
771af7d
add: SettingsScene 추가
WhiteHyun Dec 6, 2023
23f81c7
add: SettingsCoordinating
WhiteHyun Dec 6, 2023
7c492fe
refactor: SettingCoordinating 제거 후 ProfileCoordinating으로 통합
WhiteHyun Dec 6, 2023
4b0da6f
add: navigation title과 back button 설정
WhiteHyun Dec 6, 2023
deae00e
add: CollectionViewController로 변경
WhiteHyun Dec 6, 2023
00dca03
feat: 설정창 Diffable DataSource 설정
WhiteHyun Dec 6, 2023
0719439
add: 선택 시 선택해제 애니메이션 추가
WhiteHyun Dec 6, 2023
ac371d9
add: profile 설정 탭을 누르는 이벤트를 viewModel에게 전달
WhiteHyun Dec 6, 2023
05a035b
add: 프로필 설정 화면으로 이동하도록 coordinating 코드 세팅
WhiteHyun Dec 6, 2023
78632c5
add: ProfileSettings Scene 추가
WhiteHyun Dec 6, 2023
1ce9bcf
move: Coordinator 폴더를 상위폴더로 이동
WhiteHyun Dec 6, 2023
cc28900
chore: 프로필설정뷰 CollectionViewController로 변경
WhiteHyun Dec 6, 2023
9dffa20
add: UserProfileHeaderView 추가
WhiteHyun Dec 6, 2023
bf5b1d6
add: ProfileSettingsDataSource 로직 추가
WhiteHyun Dec 6, 2023
3c54728
rename: ProfileSettingsHeaderView로 이름 변경
WhiteHyun Dec 6, 2023
360e9d9
chore: constraint anchor 수정
WhiteHyun Dec 6, 2023
b962403
chore: profile header view UI 변경
WhiteHyun Dec 6, 2023
3d3b29e
feat: ProfileSettingsViewController CompositionalLayout 설정
WhiteHyun Dec 6, 2023
13d479a
add: Profile Settings Diffable DataSource 설정
WhiteHyun Dec 6, 2023
bae5250
add: ProfileSettings 셀 선택 시 자동 해제
WhiteHyun Dec 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add: CollectionViewController로 변경
  • Loading branch information
WhiteHyun committed Dec 6, 2023
commit deae00e4648d79702140aa913b50e8056a428258
Original file line number Diff line number Diff line change
@@ -11,17 +11,15 @@ import DesignSystem
import Log
import UIKit

final class SettingsViewController: UIViewController {
// MARK: - SettingsViewController

final class SettingsViewController: UICollectionViewController {
// MARK: Properties

private let viewModel: SettingsViewModelRepresentable

private var subscriptions: Set<AnyCancellable> = []

// MARK: UI Components

private let button: UIButton = .init(configuration: .mainEnabled(title: "test button"))

// MARK: Initializations

deinit {
@@ -30,7 +28,7 @@ final class SettingsViewController: UIViewController {

init(viewModel: SettingsViewModelRepresentable) {
self.viewModel = viewModel
super.init(nibName: nil, bundle: nil)
super.init(collectionViewLayout: UICollectionViewCompositionalLayout.list(using: .init(appearance: .insetGrouped)))
}

@available(*, unavailable)