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

[My routine/feat] [My routine/refac] #20

Merged
merged 6 commits into from
Apr 6, 2021
Merged

Commits on Mar 22, 2021

  1. [refac] merge

    minseungseon committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    b3bc324 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Configuration menu
    Copy the full SHA
    b4db0b1 View commit details
    Browse the repository at this point in the history
  2. [feat] UITableView Delegate 설정 - UISwipeActionConfiguration 을 통해 수정 삭…

    …제 버튼 추가해줌
    
    body:
    커스텀 아이콘 및 색깔 설정까지 모두 해주었음.
    아래 bottom inset 을 설정해주어야함.
    minseungseon committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    339b11d View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. [feat] 테이블 뷰 왼쪽으로 스와이프 할 때 나오는 edit action, delete action 추가 완료

    body:
    
    1. trailingSwipeActionsConfigurationForRowAt function에 UIContextualAction 을 edit, delete 로 추가해주어서 해결하였다.
    2. 이 과정에서 기존에 테이블 뷰를 cell 내부에서 아래 bottom inset 을 준 게 문제가 되어서 (ui contextual action 의 uiview 에는 아래 bottom inset이 안먹혀서..) 테이블 뷰 자체에서 cell 같의 spacing 을 두는 것으로 수정했다.
    dquote> - 이 과정에서 구글링을 해보니 모두 잔머리?를 사용해서 셀들을 indexpath.row 로 뿌리는게 아니라 각 셀을 section 으로 생각하고, 그 사이 간격은 '투명한 header' 를 줘서 간격을 두는 글을 보고 따라해보았다.
    성공이었다!
    minseungseon committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    9ec8fab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17e819b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db9911f View commit details
    Browse the repository at this point in the history