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
- UICollectionView
- Xcode
- Human interface guide
- RxCocoa
- Protocol
- 스위프트
- swift documentation
- uitableview
- 리펙토링
- Observable
- 클린 코드
- MVVM
- 리팩토링
- Clean Code
- ios
- combine
- map
- swiftUI
- UITextView
- 애니메이션
- uiscrollview
- ribs
- Refactoring
- collectionview
- tableView
- SWIFT
- rxswift
- HIG
- clean architecture
- 리펙터링
Archives
- Today
- Total
목록RxAlamofire (1)
김종권의 iOS 앱 개발 알아가기
[RxSwift 응용] 1. RxAlamofire
1. 세팅 1) pod 'RxAlamofire' 설치 2) 앱 내에서 ATS설정 (안할시 request불가) 2. 사용 1) json request 주의 할 점 : disposeBag을 viewDidLoad에 놓으면, viewDidLoad가 사라질 시, dealllc되므로 response되기 전에 종료됨 let disposeBag = DisposeBag() // 전역변수에 두지 않으면, response되기 전에 종료 // 먼저 ATS 설정 할 것 let urlString = "http://friendservice.herokuapp.com/listFriends" json(.get, urlString) .debug() .subscribe(onNext: { print($0) }) .disposedBag(by:..
RxSwift/RxSwift 응용
2020. 6. 25. 23:26