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 |
Tags
- ribs
- swiftUI
- clean architecture
- MVVM
- RxCocoa
- 리펙토링
- Human interface guide
- 리팩토링
- uitableview
- map
- 스위프트
- uiscrollview
- Refactoring
- combine
- rxswift
- HIG
- ios
- Xcode
- UICollectionView
- tableView
- SWIFT
- Clean Code
- collectionview
- Protocol
- 리펙터링
- swift documentation
- 클린 코드
- UITextView
- Observable
- 애니메이션
Archives
- Today
- Total
목록스레드 프로그래밍 (2)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/ctPhCe/btsnELzZgLm/oh3oSXZ2YCEken7k1eKv60/img.png)
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