Post

Replies

Boosts

Views

Activity

Reply to Async Sequence
Wow that is way more complicated than i thought. What i just want is to iterate over array of image urls i received after first call (array of objects having url). Cant i do it without making whole Photo object async ? Thanks @OOPer for the answer. i am still not feeling comfortable with AsyncIterator. I am not able to understand the purpose of following: typealias Element = UIImage, mutating func next() async throws, makeAsyncIterator() These things are not intuitive and i cant find good resources explaining them.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’21