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
- swift documentation
- ribs
- Human interface guide
- map
- Protocol
- Clean Code
- RxCocoa
- clean architecture
- 리팩토링
- collectionview
- UICollectionView
- Xcode
- 애니메이션
- UITextView
- HIG
- tableView
- Observable
- 스위프트
- Refactoring
- MVVM
- SWIFT
- 리펙터링
- uitableview
- rxswift
- 리펙토링
- swiftUI
- uiscrollview
- combine
- 클린 코드
- ios
Archives
- Today
- Total
목록ApplicationState (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] RxSwift, RxCocoa로 ApplicationState 구독하여 사용하는 방법
ApplicationState ApplicationState는 크게 Not Running, Inactive, Active, Background, Suspended 상태가 존재 앱에서 상태를 체크하여 처리하는 대표적인 케이스 - Active (foreground) 상태와 Background 상태를 구분하여 Active상태에서는 푸시메시지가 전송 안되게끔 막는 방법 RxSwift로 ApplicationState 처리 방법 ApplicationState는 아래처럼 코드로 접근이 가능 UIApplication.shared.applicationState 코드로 확인할 수 있는 상태는 3가지만 존재 // UIApplication.swift @available(iOS 4.0, *) public enum State :..
iOS 응용 (swift)
2022. 6. 20. 21:16