Post

Replies

Boosts

Views

Activity

Comment on List = Row task / onAppear not called each time despite it's on screen
@Polyphonic datasource isn't a computed property. As you can see the =, so it's only called once. I don't really get why having custom section and row type should solve the problem. It comes to the same than having \.self because the Int and the String are unique in my example. I tried your solution anyway, but it's the same result. I wonder if under the hood List just works like UITableView, which would mean that it will reuse each row when it can and call onAppear only once.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’22
Comment on URLSession download looping indefinitely until it times out
Thanks @Frameworks Engineer, it works now! For anyone else having the same issue, it’s specified as such in the documentation: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Transfer-Encoding#chunked
Replies
Boosts
Views
Activity
May ’25
Comment on Xcode 14 and proxies
@nargarus, it's working, thanks for the tip!
Replies
Boosts
Views
Activity
Apr ’23
Comment on List = Row task / onAppear not called each time despite it's on screen
@Polyphonic datasource isn't a computed property. As you can see the =, so it's only called once. I don't really get why having custom section and row type should solve the problem. It comes to the same than having \.self because the Int and the String are unique in my example. I tried your solution anyway, but it's the same result. I wonder if under the hood List just works like UITableView, which would mean that it will reuse each row when it can and call onAppear only once.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on Xcode 14 and proxies
Thanks @nargarus. I'll give it a try asap.
Replies
Boosts
Views
Activity
Dec ’22