웡빙
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ###### tags: `README` # GifTogether ## 프로젝트 소개 선물받고 사용하지 않을 것 같은 기프티콘을 거래하는 거래소 어플리케이션 입니다. - [Figma 설계](https://www.figma.com/file/Na3WMF1xogSCv7pG3aBec5/GifTogether?node-id=0-1&t=OeuBTCYqEQSXoXAC-0) ## 📑 목차 - [🔑 핵심기술](#🔑-핵심기술) - [📱 실행화면](#📱-실행화면) - [🔭 프로젝트 구조](#🔭-프로젝트-구조) - [⚙️ 적용한 기술](#⚙️-적용한-기술) - [⚠️ 트러블 슈팅](#⚠️-트러블-슈팅) ## 🔑 핵심기술 - **`MVVM`** - MVVM 패턴 - **`UI 구현`** - SwiftUI - NavigationLink - **`비동기처리`** - Combine - **`이미지 캐싱`** <br> ## 📱 실행화면 |HomeTab|SearchTab|FavoriteTab|MypageTab| |:---:|:---:|:---:|:---:| |<img src="" width="200">|<img src="" width="200">|<img src="" width="200">|<img src="" width="200">| <br> ## 🔭 프로젝트 구조 ### [Presentation Layer] #### - <U>LoginScene</U> #### - <U>HomeScene</U> #### - <U>SearchScene</U> #### - <U>FavoriteScene</U> #### - <U>MyPageScene</U> ### [Domain Layer] #### - <U>Entity</U> #### - <U>UseCase</U> ### [Data Layer] #### - <U>Repository</U> #### - <U>Services</U> #### - <U>PersistentStorages</U> <br> ## ⚙️ 적용한 기술 ### ✅ iOS 15 - 최근 4년동안 도입된 iOS기기 중 96%가 iOS 15버전 이상을 이용하고 있기에 iOS 15버전을 target으로 설정했습니다. [<img src="https://i.imgur.com/5XUDpoN.png" width="300" height="400"/>](https://developer.apple.com/kr/support/app-store/) ### ✅ SwiftUI - UI 구현에 SwiftUI 를 사용했습니다. ### ✅ Firebase [<Wiki로 이동>](https://github.com/apwierk2451/GifTogether/wiki/Firebase) - 회원가입, 전화번호 인증을 구현했습니다. - 사용자 정보 원격 저장소를 구현했습니다. - 기프티콘 정보 저장 원격 저장소를 구현했습니다. - Firestorage를 이용해 사용자가 등록한 기프티콘 이미지를 저장했습니다. ### ✅ CoreData [<Wiki로 이동>](https://github.com/apwierk2451/GifTogether/wiki/CoreData) - 검색 history 저장을 위해 CoreData 를 이용했습니다. - 내부적으로 maxCount를 지정하여 history 를 뽑아올 수 있습니다. - 최근 검색어를 기준으로 내림차순 정렬하도록 구현 했습니다. ### ✅ VisionKit - VisionKit을 이용하여 사진 분석 결과를 받아 데이터화하도록 이용했습니다. - 본인 앨범에 있는 기프티콘을 등록 시 쿠폰번호와 유효기간 정보를 가져오도록 구현했습니다. ## ⚠️ 트러블 슈팅 ### 🛠 TabBar 중복 탭시, 새로고침 하기 [<Wiki로 이동>]() - 탭바 아이템 연속 탭시, 화면 최상단으로 스크롤되고 데이터를 리셋하는 사용자 경험을 제공하려는 목적이 있었습니다. - HomeTab 의 select 파라미터에 Binding 변수를 적용해주어 해결 했습니다. ### 🛠 rootView 에 onTapGesture 적용 오류 - NavigationLink 에 onTapGesture 를 적용했을 때와 비슷한 오류로, Navigation 계층 rootView 에 onTapGesture를 걸어주니 모든 Navigation 이동에 문제가 생겼습니다. - 탭뷰의 탭이 눌리지 않는 현상 - 네비게이션바 뒤로가기 버튼이 눌리지 않는 현상 - 위와같은 문제가 발생하여 원인을 찾아보니 NavigationView 를 포함하는 RootView 에 onTapGesture 를 걸어준 것이 원인이었고, 제거하니 해결 되었습니다. ## 🔗 References - [Apple Docs - SwiftUI](https://developer.apple.com/documentation/swiftui/#essentials) - [Table and Collection View Cells Reload Improvements in iOS 15](https://swiftsenpai.com/development/cells-reload-improvements-ios-15/) - [VisionKit](https://developer.apple.com/documentation/visionkit) - [Firebase - 전화번호 인증](https://firebase.google.com/docs/auth/ios/phone-auth?hl=ko&authuser=0)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully