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 |
Tags
- Tuist
- swift 백준
- swift navigationcontroller
- scene delegate
- swift 점선
- swift associated type
- button configuration
- swift custom ui
- BFS
- UIKit
- swift opaque type
- DP
- swift existential type
- task cancel
- OAtuh 2.0
- 드롭다운 버튼
- swift dashed line
- identifiable
- reactorkit
- coordinator
- custom navigation bar
- uikit toast
- swift bottomsheet
- custombottomsheet
- 버튼 피드백
- custom ui
- task cancellation
- RxSwift
- SWIFT
- swift concurrency
Archives
- Today
- Total
목록cornerRadius (1)
김경록의 앱 개발 여정
[Swift UIKit] CornerRadius 적용시 의문점 정리
📢 cornerRadius란?cornerRadius는 iOS의 모든 UIView가 갖고 있는 CALayer의 속성 중 하나로, 뷰의 모서리를 둥글게 만들어줍니다. 숫자로 지정한 반지름(radius)만큼 모서리가 잘려 둥근 사각형 형태로 렌더링되죠. 예를 들어, 버튼이나 카드 뷰에 부드러운 곡선을 주고 싶을 때 유용합니다.let roundedImageView: UIImageView = { let imageView = UIImageView() imageView.backgroundColor = .systemBlue imageView.layer.cornerRadius = 12 // 모서리를 12pt 만큼 둥글게 imageView.clipsToBounds = true // 내부 콘텐츠가 ..
TIL
2025. 5. 19. 16:14