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

[Feat] ✨ StampView 및 KeyChain 변경 #67

Merged
merged 52 commits into from
Nov 9, 2022
Merged

Conversation

E-know
Copy link
Collaborator

@E-know E-know commented Nov 9, 2022

Overview

  • KeyChain 구조 변경
    각 이벤트마다 저장되던 것을 AsnycSwiftStamp이라는 Key로 [String]배열을 저장 및 불로오도록 수정하였습니다.
  • Stamp View 변경
    Stamp를 여러개 찍어도 반영될 수 있게끔 수정하였습니다.
  • StampView 애니메이션 로직
    Stamp가 지목되면 Observed에 currentIndex로 선택된 카드의 인덱스가 저장됩니다.
    카드의 크기는 디바이스 세로의 좌우 패딩값(각 16)을 뺀 나머지로 계산했습니다.
    Stamp의 OffsetY 지점은 카드의 크기 + 하단 패딩(16) + 카드의 순번 * 56으로 계산되었습니다.

Next Todo

  • 이 버전은 테스트 버전으로 정식으로 올라가기 전에 jsonstorage 작업 및 URL 수정을 거쳐야 합니다.

스크린샷

E-know and others added 30 commits October 3, 2022 02:32
Any -> [String] 변환 과정 에러 수정
AsyncswiftApp의 Environment Object 생성 -> MantabView의 StateObject로 변경
MainTabView+Observed
Co-authored-by: Eunyeong Kim <unnnyong@gmail.com>
앱 백그라운드에서 불러올 때 StampView가 다시 안그려지는 버그 수정
@E-know E-know self-assigned this Nov 9, 2022
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