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

[전얀] 메모장 앱 만들기 #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[전얀] 메모장 앱 만들기 #14

wants to merge 1 commit into from

Conversation

wjdalswl
Copy link
Member

@wjdalswl wjdalswl commented Nov 20, 2023

💡 Description

메모장 앱 만들기 완료했습니다.

📝 Progress

todo1

  • 메모 작성 후 작성하기 버튼 클릭시 화면이 메모장(초기화면)으로 이동하고
  • 동시에 리스트에 메모가 추가되고
  • 테이블 뷰에 작성한 메모가 뜨게 됨

todo2

  • 메모 작성 시 제목과 내용을 작성하도록 하고
  • 테이블 뷰에서도 제목과 내용을 모두 보이도록 함
  • 테이블 뷰의 각 셀 클릭시 메모 상세 화면이 뜨게 됨
  • 메모 상세 화면에서는 메모 수정 가능
  • 메모 수정 화면에서 수정 후 완료 버튼을 누르면 데이터가 변경되고 테이블 뷰에 반영됨
  • 테이블 뷰에서 셀을 좌로 스와이프하여 삭제할 수 있음

@wjdalswl wjdalswl added the 🍀 전얀 전얀's work label Nov 20, 2023
@wjdalswl wjdalswl self-assigned this Nov 20, 2023
Copy link
Member

@iiuoon iiuoon 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 +18 to +29
let TitleTextField: UITextField = {
let textField = UITextField()
textField.placeholder = "제목 입력"
textField.borderStyle = .roundedRect
return textField
}()
let ContentTextField: UITextField = {
let textField = UITextField()
textField.placeholder = "내용 입력"
textField.borderStyle = .roundedRect
return textField
}()
Copy link
Member

Choose a reason for hiding this comment

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

변수명은 카멜 케이스 사용부탁드려요!

Comment on lines +51 to +52
make.leading.equalTo(view.safeAreaLayoutGuide.snp.leading).offset(20)
make.trailing.equalTo(view.safeAreaLayoutGuide.snp.trailing).offset(-20)}
Copy link
Member

Choose a reason for hiding this comment

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

make.leading.trailing.equalTo(view.safeAreaLayoutGuide.snp.leading).inset(20) 한 줄로 가능해요

Comment on lines +64 to +67
guard let title = TitleTextField.text, let content = ContentTextField.text else {
// 제목 또는 내용이 nil일 경우 처리
return
}
Copy link
Member

Choose a reason for hiding this comment

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

제목, 내용이 없어도 메모가 작성되는 이슈가 있어요!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍀 전얀 전얀's work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants