Post

Replies

Boosts

Views

Activity

Comment on Trailing closure passed to parameter of type 'FormStyleConfiguration' that does not accept a closure
The beginning of the Form {}. All of it is supposed to go together, but it would not format all of it. Xcode version 14.3. I need the variables to assign to a codable struct: struct User: Codable { var firstName: String var lastName: String var isAdmin: Bool var storeNumber: Int var teamMemberNumber: Int var userApproved: Bool var userCreated: Bool } I put the Int() around them bc of that. It is targeting iOS and watchOS. The variables will load into a database.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’23
Comment on I am getting an error and cannot figure out how to fix it. Everything looks correct to me. Please help!
The updated version is below. I ran it, but still got the error. If i comment it out, the app runs, but crashes when brought to the ProfileView.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on I am getting an error and cannot figure out how to fix it. Everything looks correct to me. Please help!
Just added it for you. I already had it declared.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on No such module 'FirebaseFirestore'
Let me know if that works. I really need to fix this.
Replies
Boosts
Views
Activity
Apr ’23
Comment on No such module 'FirebaseFirestore'
I just tried reinstalling the packages and it is still happening. Can't figure it out.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Trailing closure passed to parameter of type 'FormStyleConfiguration' that does not accept a closure
The error I meant in the title, is in the title if this post, not my code.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on Trailing closure passed to parameter of type 'FormStyleConfiguration' that does not accept a closure
The beginning of the Form {}. All of it is supposed to go together, but it would not format all of it. Xcode version 14.3. I need the variables to assign to a codable struct: struct User: Codable { var firstName: String var lastName: String var isAdmin: Bool var storeNumber: Int var teamMemberNumber: Int var userApproved: Bool var userCreated: Bool } I put the Int() around them bc of that. It is targeting iOS and watchOS. The variables will load into a database.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23