-
Notifications
You must be signed in to change notification settings - Fork 1
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
🎨 기본 뷰 구현 완료 #3
base: main
Are you sure you want to change the base?
🎨 기본 뷰 구현 완료 #3
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.
역시 스장이시다..👍
priceLabelNode.style.spacingAfter = 13 | ||
barcodeImageNode.style.spacingAfter = 6 | ||
cardNumberTextNode.style.spacingAfter = 8 |
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.
오 이 방법 신기하다.
}, | ||
bannerButton.styled { | ||
$0.preferredSize = CGSize(width: UIScreen.main.bounds.width, height: 85) | ||
$0.spacingAfter = 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.
나는 왜 이게 안먹힐까요 .. . .?
뭘 잘못한걸까
cardCollectionNode.style.spacingAfter = 28 | ||
bannerButton.style.spacingAfter = 20 | ||
bannerButton.style.spacingAfter = 50 |
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.
이거랑 밑에 있는
bannerButton.styled {
$0.spacingAfter = 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.
엇 그르게여 저두 이거 궁금해여
cardCollectionNode.style.spacingAfter = 28 | ||
bannerButton.style.spacingAfter = 20 | ||
bannerButton.style.spacingAfter = 50 |
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.
엇 그르게여 저두 이거 궁금해여
#2
Summary
카드뷰 셀 세팅
스크롤 뷰 배열 정리
Sth Coming Newly
뭔가,,, 변수 선언할때 안먹는 것들이 LayoutSpec에서 children 선언할때 styled {} 블록 안에 쓰면 작동해요,,,
대체 왜져,,,?
Challenges
preferredSize가 안먹어서 계속 애먹었는데 LayoutSpec에 쓰니까 되더라구요,,,?
이걸로만 정말 오래 고민했는데,,,,,,
References