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
- 리펙토링
- MVVM
- 애니메이션
- uiscrollview
- collectionview
- tableView
- UITextView
- 스위프트
- clean architecture
- swift documentation
- Xcode
- combine
- ios
- uitableview
- rxswift
- HIG
- map
- Protocol
- ribs
- SWIFT
- UICollectionView
- 리펙터링
- Human interface guide
- 리팩토링
- Observable
- Clean Code
- Refactoring
- 클린 코드
- RxCocoa
- swiftUI
Archives
- Today
- Total
목록Pulse Animation (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] Pulse 애니메이션 구현 방법 (펄스 애니메이션, CABasicAnimation, CAKeyframeAnimation, CAAnimationGroup)
Pulse 애니메이션 구현 아이디어 CABasicAnimation와 CAKeyframeAnimation 사용 크기를 키우는 애니메이션은 단순히 시간에 따라 일정한 방향으로 키우면 되므로 CABasicAnimation사용(keyPath: transform.scale.xy) 투명도가 밝아졌다가 다시 투명해져야 하므로, 값이 프레임에 따라 다르게 적용되어야하는 CAKeyframeAnimation사용 (keyPath: opacity) 위 애니메이션이 동시에 적용되어야 하므로, CAAnimationGroup을 사용 애니메이션 구현 클래스 준비 import UIKit class ViewController: UIViewController { } 뷰 준비 private let sampleView: UIView = { ..
UI 컴포넌트 (swift)
2022. 5. 15. 13:42