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: CoreData 구현 및 연결 완료 / 데이터 연결 완료 #24

Merged
merged 29 commits into from
Jun 18, 2022
Merged

Conversation

JIWON1923
Copy link
Member

@JIWON1923 JIWON1923 commented Jun 17, 2022

작업 내용

  • CoreData 구현 및 연결 완료하였습니다.
  • 삭제 기능 구현 했습니다.
  • 편집 기능은 덮어쓰기가 안 되고, 새로운 CD로 저장되어 우선 코드에 넣지 않았습니다.

리뷰 포인트

  • CoreData 구현하였습니다. (Writing view에서 저장, CdListView, DetailView에서 불러오기 기능)
  • RecordDetailView, Modal View 사이 데이터 연결했습니다. @mxnxxii , @boskim22
  • 시간관계상 주석이나 구조는 추후에 변경할 예정입니다

다음으로 진행될 작업

  • 주석 추가하기
  • 디테일한 디자인 변경하기

이슈

  • DetailView에서 삭제한 후 CdList로 이동하는 경우 (dismiss)
    -> CD 리스트의 사진이 하나씩 밀려서 나타나는 에러가 발생
    -> CD가 한 개 일 때, 앱 종료됨

  • DetailView에서 삭제한 후 Home으로 이동하는 경우
    -> CD가 한 개 일 때, 앱이 종료됨

  • 둘 다 삭제 후 이전 뷰 (Cd list view)를 접근하게 되는데, 이때 비어있는 데이터에 접근해서 발생하는 문제인 것 같습니다.

  • dismiss 후 뷰를 업데이트하는 방법과 네비게이션으로 이동하는 방법을 사용해봤는데, 해결하지 못했습니다.

  • 오류가 있는 관계로 삭제기능을 제외하였습니다.

# Conflicts:
#	Recorder/RecorderApp.swift
Merge commit '75d9fa4ff4c995fd218489c127d0c5c14e4acf76' into soi

* commit '75d9fa4ff4c995fd218489c127d0c5c14e4acf76':
  Feat : 이야기 작성 기능 추가
  Write View에 들어가는 이야기작성뷰 파일 추가
  Feat : Write View navigation View remove
  FEAT : 키보드 올라올 때 뷰 올라감 수정
  DOCS : Json 파일 생성
  Design : Write View UI 변경
  FEAT : Serach -> Write 로 링크 수정
  FEAT : 노래 제목, 가수 추가
  Design : Write View UI 변경
  Comment : WriteView 주석 추가
  Feat : 저장 버튼 UI 생성
  Feat : 사용자 가사 적는 기능 추가
  Feat : 사용자 Image 넣기 기능 추가
  Feat: Write View 생성
  Feat : Write View 파일 추가
  Add : 주석 수정

# Conflicts:
#	Recorder/RecorderApp.swift
- 현재 데이터가 없는 상태에서 리스트 보기 화면으로 들어가면 에러가 발생하고 있음.
Merge commit '14375059d4caac0ca390f39b600714f6e02a6f2b' into coredata

* commit '14375059d4caac0ca390f39b600714f6e02a6f2b':
  Feat : Detail View - Modal View 연결
  Feat : Story & Photo (본문) Modal 기능 구현
  feat : modal 닫기 기능 구현
  feat : Xmark button 추가
  Feat : 완료버튼 구현
  Feat : Text 200자 제한 재구현
  Revert "Feat : Text 200자 제한 구현"
  Feat : Text 200자 제한 구현
  Feat : TextEditor Placeholder 추가

# Conflicts:
#	Recorder/RecordDetailView.swift
- save 함수 제거
// let image = body.screenshot()
// UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil)}
// }
// }
Copy link
Collaborator

Choose a reason for hiding this comment

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

이 부분이 주석처리 되어있는건 임의로 비활성화가 된 걸까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

이 파일은 저희 앱에 영향을 주는 파일이 아니어서, 추후 삭제 될 예정입니다!

Copy link
Collaborator

Choose a reason for hiding this comment

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

넵 확인했습니다

@mxnxxii
Copy link
Collaborator

mxnxxii commented Jun 17, 2022

확인했습니다!

@JIWON1923 JIWON1923 changed the title Soi Feat: CoreData 구현 및 연결 완료 / 데이터 연결 완료 Jun 17, 2022
가사, 이미지, 이야기를 모두 작성해야 버튼이 작동하는 기능
- Cd가 하나만 있을 때 삭제하면, 에러남
- 삭제 후 리스트로 돌아왔을 때, 이미지가 제대로 표시되지 않는 오류 존재
Copy link
Collaborator

@YunSeok-Choi YunSeok-Choi left a comment

Choose a reason for hiding this comment

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

옵셔널 강제 추출 부분에서 예외가 발생할 수도 있으니 여러 테스트를 해봐야 할것 같아요

Comment on lines 38 to 41
//go to WriteView
// Spacer()
// Image("ListViewCdPlayer")
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
//go to WriteView
// Spacer()
// Image("ListViewCdPlayer")
}
//TODO: go to WriteView
// Spacer()
// Image("ListViewCdPlayer")
}

Copy link
Member Author

Choose a reason for hiding this comment

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

저희 기능상 노래나 가사 이미지 등 nil 값이 들어가는 경우가 없어서 강제 추출로 진행했습니다.

다음에 올릴 기능 중 삭제 기능이 들어가면서, nil 값에 접근할 가능성이 생겨서 옵셔널 바인딩과 체이닝을 사용하였습니다/

@100seo
Copy link
Collaborator

100seo commented Jun 18, 2022

확인했습니다

@mxnxxii
Copy link
Collaborator

mxnxxii commented Jun 18, 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.

None yet

5 participants