Post

Replies

Boosts

Views

Activity

Comment on Merge An Array Item's Array Property Based On Property
Hi @Babyj thank you for taking time to analyze. I think i have a problem with your code. Maybe because i did not explicitly describe my use case. I will post it in another comment below with the whole code. The citiesList array will have existing entries. And the list view has a footer to retrieve more rows which can contain duplicates and that is where i wish to do the logic to merge them with the same city name.
Oct ’22
Comment on Using if condition in Kingfisher.shared.retrieveImage
The image can actually be accessed via result.get().image but then it seems my if result == .success doesnt work. error message Cannot convert value of type 'Result<RetrieveImageResult, KingfisherError>' to expected argument type 'DispatchTimeoutResult' Thank you. Yours works. I think for a beginner it is hard if one if not familiar when code just goes .something instead of adding the struct or class name to it.
Oct ’22