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
- uitableview
- SWIFT
- Protocol
- 리펙토링
- MVVM
- Refactoring
- swift documentation
- Clean Code
- map
- UITextView
- 리팩토링
- collectionview
- RxCocoa
- clean architecture
- swiftUI
- tableView
- Observable
- 스위프트
- UICollectionView
- ios
- ribs
- uiscrollview
- combine
- Xcode
- 애니메이션
- rxswift
- 클린 코드
- Human interface guide
- HIG
- 리펙터링
Archives
- Today
- Total
목록UIImage 회전 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] UIImage 회전, 이미지 회전 방법 (CGAffineTransform, CGContext, UIGraphicsBeginImageContext, UIGraphicsGetImageFromCurrentImageContext)
CGAffineTransform 수학적인Affine("아핀") 변환의 의미: 점 사이의 상대적 거리 유지, 평행선을 보존하는 변환 translateBy(x:y:): Coordinate를 변경 scaleBy(x:y:): 확대 or 축소 rotate(by:): 회전 code enum AffineType { case translate case scale case rotate } func affineTransfrom(_ type: AffineType) { switch type { case .translate: rectButton.transform = .init(translationX: 50, y: 1.0) rectButton.setTitle("(translationX:50, y:1.0)", for: .norm..
iOS 응용 (swift)
2021. 8. 21. 00:55