Top "Swift5" questions

Use this tag only for questions directly related to changes in version 5 of Apple's Swift programming language.

SwiftUI: Generic parameter 'Subject' could not be inferred

I built a LoadingView with SwiftUI for showing some loading stuff in my app while I'm fetching remote data from …

swift swiftui swift5 combine
Updating @Published variable of an ObservableObject inside child view

I have a published variable isLoggedIn inside a ObservableObject class as follows: import Combine class UserAuth: ObservableObject{ @Published var isLoggedIn: …

swift swiftui swift5
Generic type 'Result' specialized with too few type parameters (got 1, but expected 2)

I just wanted to include Result in my project and am running across a few issues. It seems to me …

swift5