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
- map
- swiftUI
- uitableview
- UICollectionView
- RxCocoa
- swift documentation
- MVVM
- Refactoring
- Xcode
- SWIFT
- collectionview
- HIG
- rxswift
- ios
- 리펙터링
- 리팩토링
- 클린 코드
- 스위프트
- 리펙토링
- Observable
- uiscrollview
- ribs
- combine
- Protocol
- Clean Code
- 애니메이션
- tableView
- UITextView
- clean architecture
- Human interface guide
Archives
- Today
- Total
목록cornerCurve (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] cornerCurve 개념 (CornerRadius, round button, iOS 13+)
cornerCurve 개념 CALayer에 프로퍼티로 존재하는 cornerCurve 해당 프로피티를 이용하면 조금 더 cornerRadius를 설정했을때 더욱 자연스럽게 표현이 가능 button.layer.cornerRadius = 50 button.layer.cornerCurve = .continuous ex) 회색 버튼이 .continuous 적용 cornerCurve에는 두 가지 속성이 존재 .circular: 원에 가까운 radius 처리 .continuous: 매끄럽고 자연스럽게 처리 (보통 이 속성 사용) * 전체 코드 (편리한 오토레이아웃 작성을 위해 SnapKit 프레임워크 사용) import UIKit import SnapKit class ViewController: UIViewContr..
iOS 응용 (swift)
2022. 2. 27. 19:36