-
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
홈 화면의 Tabbar를 정의해 보았습니다. #10
Conversation
|
||
private func setupButton() { | ||
addButton.backgroundColor = .blue | ||
addButton.setTitle("+", for: .normal) |
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.
타이틀 폰트 더 키울 수 있나요~? 스크린샷보니 좀 작아보여서요!
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.
[eaa4f9c] 수정했습니다
addButton.backgroundColor = .blue | ||
addButton.setTitle("+", for: .normal) | ||
addButton.setTitleColor(.white, for: .normal) | ||
addButton.layer.cornerRadius = 32 |
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.
addButton의 size를 정의해두고 해당 사이즈의 height * 0.5를 해서 넣어주는건 어때요?
버튼 사이즈 따라가는게 안정적일 것 같아서요~
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.
[5cd2dd9] 수정했습니다
let networkService = DefaultRecipeFetchService(networkService: baseneworkServie) | ||
let repository = DefaultFeedListRepository(networkService: networkService) | ||
let searchrepository = DefaultSearchFeedRepository(networkService: networkService) | ||
let fetchFeedListUseCase = DefaultFetchFeedListUseCase(repository: repository) | ||
let searchFeedListUsecase = DefaultSearchFeedListUseCase(repository: searchrepository) |
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.
언제 이렇게 프리픽스로 Default가 붙었죠..?
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.
RecipeListViewController의 interactor를 주기 위해 넣었습니다
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.
이 부분은 슬랙에서 더 이야기해요.
@objc private func didTapActionButton() { | ||
let alert = UIAlertController(title: "게시물 작성", message: "어떤 게시물을 작성하실 건가요?", preferredStyle: .actionSheet) | ||
alert.addAction(UIAlertAction(title: "Coffee", style: .default, handler: { [weak self] _ in | ||
guard let self = self else { 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.
guard let self else { 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.
[087f6e1] 수정했습니다
c21f500
to
20cd42f
Compare
6b513d0
to
087f6e1
Compare
@@ -10,7 +10,8 @@ import UIKit | |||
class MainTabBarController: UITabBarController, UITabBarControllerDelegate { | |||
|
|||
private let addButton = UIButton(type: .custom) | |||
|
|||
private let buttonSize: CGFloat = 64 |
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 let buttonSize: CGFloat = 64 | |
private let buttonSize = CGSize(all: 64.0) |
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.
size 네이밍에 맞춰서 부탁드리고, 버튼에 사이즈 넣어줄 때도 이 값을 사용하도록 수정부탁드려요.
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.
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.
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.
Default만 확인해주세요
Quality Gate passedIssues Measures |
3611d8b |
|||