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

Feature/jiyun 4 #176

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Feature/jiyun 4 #176

wants to merge 6 commits into from

Conversation

glossyyoon
Copy link
Collaborator

  • 이미지 보여주기
  • 컬렉션 뷰 재사용
    구현은 보완하겠습니다ㅜ

import UIKit

class FolderView: UIViewController {
var rightButton = UIBarButtonItem()
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

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

태그의 목적은?

return button
}()
}

Copy link
Collaborator

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 {
Copy link
Collaborator

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) {
}
Copy link
Collaborator

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)
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

전체적으로 이 화면에서만 일어나는 이벤트에 대한 메소드는 private로 선언해주세요

@SH4CK3RS
Copy link
Collaborator

사진 추가가 잘 안되는것같은데 한번 확인해주세요

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

2 participants