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
- ribs
- UITextView
- UICollectionView
- ios
- 리펙토링
- Xcode
- Human interface guide
- SWIFT
- swift documentation
- Observable
- uiscrollview
- combine
- Clean Code
- tableView
- collectionview
- swiftUI
- map
- 리펙터링
- MVVM
- 스위프트
- RxCocoa
- uitableview
- 애니메이션
- 리팩토링
- HIG
- Refactoring
- rxswift
- Protocol
Archives
- Today
- Total
목록loadingView (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] UIActivityIndicatorView, loadingView, 로딩 뷰
UIActivityIndicatorView를 상속받아서 구현 로딩중이면 다른 화면의 UI가 눌려지지 않도록 구현 중앙에 표출 구현 사용 시 매번 객체생성이 필요 없으므로 static으로 사용할 수 있게끔 선언 class LoadingIndicator { static func showLoading() { DispatchQueue.main.async { // ... } } static func hideLoading() { DispatchQueue.main.async { // ... } } } showLoading 구현 최상단에 있는 window 객체 획득 window의 subviews들 중 마지막에 있는 화면이 UIActivityIndicatorView면 그대로 사용하고, 아닐 경우 객체를 새로 생성 UIA..
iOS 응용 (swift)
2021. 8. 31. 23:57