SamuKata
kavsoft
kavsoft

patreon


SwiftUI 3.0 Blog App - Medium Clone - Firebase - Async/Await - MVVM - Animation's - Xcode 13

Source Code For  SwiftUI 3.0 Blog App - Medium Clone - Firebase - Async/Await - MVVM - Animation's - Xcode 13.


Download Code 👇

SwiftUI 3.0 Blog App - Medium Clone - Firebase - Async/Await - MVVM - Animation's - Xcode 13

Comments

Can we get an update where user is able to upload images?

Alexander

Hi, SwiftUI uses Foreach with $Bindings, which has a wired problem. I'm not sure why it's happening, but this is a solution. Replace this Code postContent.remove(at: index) Into this DispatchQueue.main.asyncAfter(deadline: .now() + 0.05) { let _ = withAnimation(.easeInOut){ postContent.remove(at: index) } }

Kavsoft

When I swipe the content The error appears "Index out of range" HOw can i solve this?

911


More Creators