-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
[전얀] 메모장 앱 만들기 #14
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!!
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 | ||
}() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
변수명은 카멜 케이스 사용부탁드려요!
make.leading.equalTo(view.safeAreaLayoutGuide.snp.leading).offset(20) | ||
make.trailing.equalTo(view.safeAreaLayoutGuide.snp.trailing).offset(-20)} |
There was a problem hiding this comment.
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)
한 줄로 가능해요
guard let title = TitleTextField.text, let content = ContentTextField.text else { | ||
// 제목 또는 내용이 nil일 경우 처리 | ||
return | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제목, 내용이 없어도 메모가 작성되는 이슈가 있어요!
💡 Description
메모장 앱 만들기 완료했습니다.
📝 Progress
todo1
todo2