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
- clean architecture
- 클린 코드
- 애니메이션
- 스위프트
- 리펙터링
- Human interface guide
- SWIFT
- Observable
- 리팩토링
- RxCocoa
- swiftUI
- Clean Code
- ios
- uiscrollview
- 리펙토링
- Xcode
- UICollectionView
- UITextView
- ribs
- uitableview
- MVVM
- tableView
- collectionview
- HIG
- Refactoring
- map
- combine
- rxswift
- Protocol
- swift documentation
Archives
- Today
- Total
목록startPoint (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] CAGradientLayer, layer.mask (+ 텍스트 gradient fade out 처리)
CAGradientLayer이란? layer에 색 그라데이션을 입히는데 사용되는 객체 주로 UIView나 UILabel의 text에 그라데이션을 입히는데 사용 CAGradientLayer 사용 방법 객체 생성 후 frame 설정: frame은 적용될 view의 bounds로 설정 let gradientLayer = CAGradientLayer() gradientLayer.frame = myView.bounds 그라데이션에 들어갈 색상 추가(처음 ~ 마지막 순서대로 기입): 타입은 [CGColor] 타입 gradientLayer.colors = [UIColor.orange.cgColor, UIColor.red.cgColor] gradientLayer의 속성을 모두 지정하였으므로 (적용될뷰.layer.add..
iOS 응용 (swift)
2021. 3. 26. 02:21