Post

Replies

Boosts

Views

Activity

Reply to Optional Protocol Type
Thanks for the reply. Fixed the typo. The implementation of id and name are immutable once the instance has been created. If I undersrtand your answer UserData would be:final class UserData: ObservableObject, Codable { var account: AProfile? }Is that what you mean?
Feb ’20
Reply to view sheet on first launch
Hi Claude31I re-jigged a bit of code around to the following:struct ContentView: View { @State private var showingSheet = true var body: some View { RequestHome().sheet(isPresented: $showingSheet) { RegisterHome() } } }This gives me the effect I was trying to achieve - a sheet display on launch which I'll conditionalize later on.Craig
Dec ’19