일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 동기화
- struct
- async
- Swift
- Linked List
- 인프런
- 파일 시스템
- 데드락
- 프로세스 스케줄링
- 오브젝트
- Algorithm
- 운영체제
- 상호배제
- UserDefaults
- decode
- 알고리즘
- IOS
- @state
- 가상 메모리
- 비동기
- forEach
- 100 days of SwiftUI
- 동시성
- Apple Developer Academy
- COLOR
- SwiftUI
- core data
- 앨런
- deadlock
- Codable
Archives
- Today
- Total
목록custom transition (1)
기어가더라도 제대로
[SwiftUI-기초] custom transition
커스텀한 View Modifier 를 만드는 것과 방법이 대동소이하다. 다만, 우리가 만드려는 것은 .transition() 안에 들어가는 .scale, .opacity 같은 전환 옵션을 만들어보려고 한다. 참조링크 : 2022.10.15 - [분류 전체보기] - [SwiftUI-기초] Custom modifier struct CornerRotateModifier: ViewModifier { let amount: Double let anchor: UnitPoint func body(content: Content) -> some View { content .rotationEffect(.degrees(amount), anchor: anchor) .clipped() } } amount: 얼마만큼 회전할 지 정..
SwiftUI - 기초
2022. 10. 31. 09:14