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

스플래시 화면 구현 #11

Closed
wants to merge 7 commits into from
Closed

스플래시 화면 구현 #11

wants to merge 7 commits into from

Conversation

NORIKIM
Copy link
Collaborator

@NORIKIM NORIKIM commented Jan 14, 2025

스플래시 화면(인트로) 구현 완료 하였습니다.

@NORIKIM NORIKIM linked an issue Jan 14, 2025 that may be closed by this pull request
1 task
Copy link

@abdul0986 abdul0986 left a comment

Choose a reason for hiding this comment

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

피드백 반영 부탁드립니다.

}
}
let hexFormatted = hex.trimmingCharacters(in: .whitespacesAndNewlines).replacingOccurrences(of: "#", with: "")
guard hexFormatted.count == 6,

Choose a reason for hiding this comment

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

Integer의 경우, 리터럴을 코드 내에서 바로 사용하게 되면 가독성 및 인지 오류의 문제가 야기됩니다. 가급적 정적상수로 선언하거나 enum 하위 항목으로 정의해서 상수 형태로 사용하는 습관을 들여주시길 권장합니다

Comment on lines +18 to +19
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
self.router?.pushToContentsView()

Choose a reason for hiding this comment

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

'2'라는 리터럴이 의미하는 바가 코드 내에서 모호하기 때문에, 보다 분명하게 정의할 수 있도록 splashFreezeMargin과 같은 상수를 정의하여 사용하는 편이 좋습니다.

@NORIKIM NORIKIM closed this Jan 15, 2025
@NORIKIM NORIKIM deleted the feat/5-splashView branch January 15, 2025 02:14
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.

스플래시 화면 구현
2 participants