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

심화테이블 뷰 구현 완료 & 음악 검색앱 구현 #19

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

Conversation

82everywin
Copy link
Member

@82everywin 82everywin commented May 21, 2024

close #15
close #20
구현 완료

@82everywin 82everywin changed the title 연락처 리스트 구현 심화테이블 뷰 구현 완료 & 음악 검색앱 구현 May 22, 2024

import UIKit

class AddMemberViewController: UIViewController{
Copy link
Collaborator

@eogus4658 eogus4658 May 23, 2024

Choose a reason for hiding this comment

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

더 이상 상속되지 않는 클래스에는 final 키워드 붙여주는 게 좋아!

Copy link
Member Author

Choose a reason for hiding this comment

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

응응 ! 수정할게!

Comment on lines +33 to +37
extension UITableViewCell {
static var identifier: String {
return String(describing: self)
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

UITableViewCell Extension 파일을 따로 분리하는 게 더 좋을 것 같아!

Copy link
Member Author

Choose a reason for hiding this comment

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

아 나는 같은 Cell 파일에 있어야 하는줄 알았다..!! 그럼 컨트롤러 쪽으로 옮길게!

Comment on lines 24 to 25
let image = UIImage(data: data)
musicImage.image = image
Copy link
Collaborator

Choose a reason for hiding this comment

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

지금 Task 안에서 비동기로 작동하는 코드 안에서 ui 수정을 할 때에는 메인 쓰레드에서 적용하는 게 안전해! 메인 쓰레드와 글로벌 쓰레드의 차이점, DispatchQueue 키워드 참고해서 알아봐도 좋을 것 같아!

Copy link
Member Author

Choose a reason for hiding this comment

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

DispatchQueue를 자세히 못봤던 것 같아! ui수정은 메인쓰레드레서 해야하니까 Dispatchqueue.main.async를 사용하는게 맞는거지?
수정해서 올릴게!

Copy link
Collaborator

@eogus4658 eogus4658 left a comment

Choose a reason for hiding this comment

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

👍

@82everywin 82everywin self-assigned this May 23, 2024
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.

[Feat] 음악 검색 앱 구현 [Feat] 심화테이블 뷰 구현
2 participants