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
Feature/jiyun 4 #176
base: main
Are you sure you want to change the base?
Feature/jiyun 4 #176
Conversation
import UIKit | ||
|
||
class FolderView: UIViewController { | ||
var rightButton = UIBarButtonItem() |
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.
rightButton을 여기 선언하고 새로 선언한 이유가 있을까요?
func setNavigationItems() { | ||
rightButton = { | ||
let button = UIBarButtonItem(barButtonSystemItem: .add, target: self, action: #selector(plusButtonPressed(_ :))) | ||
button.tag = 1 |
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.
태그의 목적은?
return button | ||
}() | ||
} | ||
|
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.
deleteButton은 선언만 하고 사용은 안하는거같은데.. 안 쓰는거면 지워주세요
import Foundation | ||
import UIKit | ||
|
||
class FolderView: UIViewController { |
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.
네이밍 - 뷰인지 뷰컨트롤러인지 확실하게 해주세요
})) | ||
|
||
self.present(alert, animated: true) { | ||
} |
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.
개행 제거
CoreDataManager.shared.deleteFolder(indexPath: indexPath) | ||
dismiss(animated: true, completion: nil) | ||
} | ||
} |
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.
전체적으로 이 화면에서만 일어나는 이벤트에 대한 메소드는 private로 선언해주세요
사진 추가가 잘 안되는것같은데 한번 확인해주세요 |
구현은 보완하겠습니다ㅜ