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
- HIG
- Refactoring
- Protocol
- tableView
- Human interface guide
- Clean Code
- UICollectionView
- SWIFT
- clean architecture
- 애니메이션
- Xcode
- swift documentation
- combine
- collectionview
- UITextView
- 클린 코드
- swiftUI
- uiscrollview
- 스위프트
- scrollview
- 리펙토링
- uitableview
- MVVM
- Observable
- rxswift
- map
- 리팩토링
- ribs
- ios
- RxCocoa
Archives
- Today
- Total
목록Single Thread (1)
김종권의 iOS 앱 개발 알아가기
DispatchQueue의 sync와 async 동작 main queue와 thread 구분하기 main thread는 single thread이며, 해당 작업을 처리하는곳이 queue async와 sync로 각각 queue에 작업 담기가 가능 DispatchQueue.main.async { // main queue에 async 작업 넣는 곳 } DispatchQueue.main.sync { // main queue에 sync 작업 넣는 곳 } ViewController를 생성하고 DispatchQueue.main 없이 코드를 작성하면 그 코드들은 모두 DispatchQueue.main.sync 큐에서 처리 class ViewController: UIViewController { override func..
iOS 응용 (swift)
2023. 7. 24. 01:51