How can we call async functions in did set blocks? This code will trigger a compilation error:
'didSet' accessor cannot have specifier 'async'
@Published var lastLocation: CLLocation? {
didSet async {
await pinPosition()
}
}
Post
Replies
Boosts
Views
Activity
Is it possible to have a new SwiftUI List with 2 columns? I'm trying to replicate on iOS the Library view from the podcasts app and it looks to be impossible...