iOS) MainActor ์ฌ์ฉํด์ main queue ์์ ์คํ์ํค๊ธฐ
๋ด์ฉ MainActor ๋ฅผ ์ฌ์ฉํด์ main thread ์์์ ๋์์ ๋ณด์ฅํด๋ณด์. MainActor ๋ Concurrency ์ Actors API collection ์ค ํ๋์ ๋๋ค. Apple Developer Documentation MainActor Apple Developer Documentation A singleton actor whose executor is equivalent to the main dispatch queue. ์ฆ, mian thread ์์์ ๋์์ ๋ณด์ฅํ๋ Actor ์ ๋๋ค.MainActor ๋ฅผ ์ฌ์ฉํ๋ฉด DispatchQueue.main ์ ์ธ์ ์ฌ์ฉํ ์ง ๊ณ ๋ฏผํ์ง ์์๋ ๋ฉ๋๋ค! Task { do { movies = try await getMovie() await Mai..
iOS
2022. 6. 3. 22:02
TAG
- 2022 KAKAO TECH INTERNSHIP
- configurable widget
- WWDC22
- MOYA
- rxswift
- IOS
- projectsetting
- WidgetKit
- OpenSourceLibrary
- RxCocoa
- urlsession
- CloneCoding
- UserDefaults
- Swift
- APNS
- Algorithm
- MVVM
- async/await
- ์๋ฒํต์
- Widget
- watchOS
- github
- YPImagePicker
- WWDC
- SwiftUI
- containerBackground
- Protocol
- Objective-C
- Notification
- Firebase
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
๊ธ ๋ณด๊ดํจ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
๋งํฌ
- Total
- Today
- Yesterday