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

앱 설정 UI 작업 #38

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

앱 설정 UI 작업 #38

wants to merge 4 commits into from

Conversation

hililyy
Copy link
Member

@hililyy hililyy commented Jul 29, 2024

Motivation

  • 앱 설정 UI 작업 했습니다.
  • 다른 화면이랑 중복되는게 많은 화면이라 Base로 따로 빼서 만들었는데 일단은 앱 설정 네비게이션바에 테이블뷰만 만들었고 추후 다른 UI 고려해서 수정하겠습니다 ㅠ!
  • 모듈화 작업하신거 기반으로 뷰 push추가, 삭제두 적용 해보았습니다!

Key Changes 🔑

simulator_screenshot_94DE3F57-1453-43EA-9D2E-0143F97AB7B7

@hililyy hililyy self-assigned this Jul 29, 2024
Copy link
Member

@cestbonciel cestbonciel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다. 빌드해서 확인했습니다!

Copy link
Member

@Minny27 Minny27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다. :)

tableView
])

setConstraints()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제약 조건을 나누는 함수를 따로 빼는 게 나을 지 고민해봐야겠네요

make.horizontalEdges.bottom.equalToSuperview()
}

setTableView()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delegate를 위임하는 함수와 data binding함수를 나누는 게 좋아보입니다.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 수정하겠습니다~!

import RxSwift

class BaseSettingViewController: NagazaViewController {
private var tableViewData = PublishRelay<[String]>()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BaseSettingViewController를 상속할 때 동일한 타입의 데이터면 괜찮을 수 있는데
각 화면마다 데이터 타입이 달라질 수 있어서 데이터는 각 vc의 view model에서 관리하는게 어떨까 싶습니다.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 수정하겠습니다~!

@@ -13,7 +13,7 @@ public final class AppSettingBuilder: AppSettingBuildable {
public func build(rootViewControllable: ViewControllable) -> AppSettingCoordinating {

let coordinator = AppSettingCoordinator(viewControllable: rootViewControllable)

coordinator.start()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coordinator는 전체적으로 잘 적용하신 것 같습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants