Skip to content

feat: Custom LaunchScreen#74

Merged
JH713 merged 8 commits intodev/42pack-icon/#70from
#70/custom-launchscreen-구현/#73
Mar 5, 2024

Hidden character warning

The head ref may contain hidden characters: "#70/custom-launchscreen-\uad6c\ud604/#73"
Merged

feat: Custom LaunchScreen#74
JH713 merged 8 commits intodev/42pack-icon/#70from
#70/custom-launchscreen-구현/#73

Conversation

@chanhihi
Copy link
Copy Markdown
Member

@chanhihi chanhihi commented Mar 2, 2024

📌 개요

  • Custom Launch Screen을 추가하였습니다.
  • AppDelegate 에서 Versioning Check를 하므로 동적인 LaunchScreen이 필요하다고 판단했습니다.
  • 버저닝 체크에서의 에러 및 분기를 런치스크린에서 처리합니다.

💻 작업 내용

  • 귀여운 여우와 앱 로고를 추가 하였습니다.
  • 버저닝 체크에서의 결과값을 AppStateManager 에서 상태관리를 해줍니다.
  • AppStateManager는 싱글톤이며, isVersionCheckCompleted 변수가 상태코드 VersionCheckCode를 들고 있습니다.
  • 이후 앱 확장성을 위해서 CustomLaunchScreenViewController 에서 해당값을 구독해서, 이후 분기를 결정합니다.
  • 이후 앱 확장성 및 테스트 코드 작성을 위해서 에러 코드들을 세분화 하였습니다.

🖼️ 스크린샷

fox 없는 버전 fox 있는 버전
image Simulator Screen Recording - iPhone 15 Pro - 2024-03-03 at 00 05 18

요구 버저닝 보다 낮은 경우

image image image

@chanhihi chanhihi self-assigned this Mar 2, 2024
@chanhihi chanhihi added ✨ Enhancement New feature or request 💄 UI/UX UI/UX 관련 사항을 다룹니다. labels Mar 2, 2024
Copy link
Copy Markdown
Collaborator

@JH713 JH713 left a comment

Choose a reason for hiding this comment

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

버전 관리하는 서버 따로 만드셨네요! 아주 좋습니당 👍 UIView 구조 통일은 나중에 리팩토링할 때 하면 될 것 같습니다 수고하셨습니다!!


override init(frame: CGRect) {
super.init(frame: frame)
configureUI()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

나중에 UIView 구조를 jikoo님이 구성한 구조로 수정하면 좋을 것 같습니다!

override init(frame: CGRect) {
      super.init(frame: frame)
      setupProperty()
      setupHierarchy()
      setupLayout()
    }

@JH713 JH713 merged commit 12abeb9 into dev/42pack-icon/#70 Mar 5, 2024
@chanhihi chanhihi deleted the #70/custom-launchscreen-구현/#73 branch March 9, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Enhancement New feature or request 💄 UI/UX UI/UX 관련 사항을 다룹니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants