Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- HIG
- Protocol
- Clean Code
- 리팩토링
- 리펙터링
- 리펙토링
- uitableview
- swiftUI
- Xcode
- Observable
- UITextView
- Human interface guide
- swift documentation
- MVVM
- collectionview
- Refactoring
- uiscrollview
- rxswift
- combine
- map
- UICollectionView
- 스위프트
- 클린 코드
- SWIFT
- tableView
- ios
- 애니메이션
- clean architecture
- ribs
- RxCocoa
Archives
- Today
- Total
목록Cell 하단 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] table view에서 특정 separator 삭제 방법 (header의 하단, 마지막 셀의 하단)
방법: CALayer를 가지고 테이블 뷰 색깔로 그려주게 되면, separator가 가려지게끔 하는 원리 CALayer를 이용하여 UIView의 하단에 줄을 긋는 함수 정의 public extension UIView { func addBottomBorderWithColor(color: UIColor) { let border = CALayer() border.backgroundColor = color.cgColor border.frame = CGRect(x: 0, y: self.frame.size.height, width: self.frame.size.width, height: 1) self.layer.addSublayer(border) } func addAboveTheBottomBorderWithColo..
iOS 응용 (swift)
2020. 11. 12. 01:21