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 | 31 |
Tags
- swiftUI
- map
- 클린 코드
- SWIFT
- uiscrollview
- Clean Code
- UITextView
- ios
- 리펙터링
- tableView
- Protocol
- ribs
- RxCocoa
- clean architecture
- Human interface guide
- MVVM
- Xcode
- swift documentation
- Observable
- UICollectionView
- HIG
- combine
- 스위프트
- 리팩토링
- Refactoring
- collectionview
- rxswift
- uitableview
- 애니메이션
- 리펙토링
Archives
- Today
- Total
목록SEPARATOR (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