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
- swift documentation
- collectionview
- 리펙토링
- uiscrollview
- Observable
- 애니메이션
- Clean Code
- 리팩토링
- 스위프트
- tableView
- rxswift
- ios
- RxCocoa
- ribs
- Refactoring
- MVVM
- combine
- swiftUI
- map
- Xcode
- 클린 코드
- Human interface guide
- Protocol
- uitableview
- SWIFT
- UICollectionView
- 리펙터링
- UITextView
- HIG
- clean architecture
Archives
- Today
- Total
목록재생 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] mp4, gif 파일 재생 방법 (애니메이션, AVPlayer, Gifu 프레임워크)
https://github.com/kaishin/Gifu mp4 파일 재생 animation이 동작할 UIImageView 추가 애니메이션을 실행시킬 playVideo 함수 추가 private func playVideo(with resourceName: String) { guard let path = Bundle.main.path(forResource: resourceName, ofType: "mp4") else { return } let player = AVPlayer(url: URL(fileURLWithPath: path)) let playerLayer = AVPlayerLayer(player: player) playerLayer.frame = animationView.bounds animationV..
iOS 응용 (swift)
2021. 3. 4. 23:56