Simon SeyerforSoftware Engineering Cornersoftware-engineering-corner.zuehlke.com·Nov 11, 2024The retain cycle of Swift async/awaitIn a recent project, we observed one of those bugs that lets every developer jubilate. It was only happening rarely and seemed to manifest in varying ways. But first, some context: We were running a Swift/Vapor server which controls a generic Zühlke...1 like·521 readsApple
Tobytoby.hashnode.dev·May 25, 2024Deep Dive to Swift Concurrency - task groupDeep Dive to Swift Concurrency 시리즈 https://toby.hashnode.dev/deep-dive-to-swift-concurrency-async-let Task Group 이전 시간 async let을 활용하여 Structed Concurrency(부모Task, 자식Task)를 구현해보았음. func fetchOneThumbnail(withID id: String) async throws -> UIImage {...Task Group
Tobytoby.hashnode.dev·May 25, 2024Deep Dive to Swift Concurrency - async letasync let 에 대해서 보통 Swift Concurrency에 대해서 사용하고자 하면 다음과 같이 사용할 것이다. func fetchOneThumbnail(withID id: String) async throws -> UIImage { let imageReq = imageRequest(for: id) let metadataReq = metadataRequest(for: id) let (data, _) = try awa...SwiftSwift Concurrency