Post

Replies

Boosts

Views

Activity

Comment on How to sum the same category total in SwiftUI?
it worked! I really appreciate your helps! Thank you
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How to sum the same category total in SwiftUI?
I have two type icons store in data like this : struct ExpenseData: Identifiable, Codable, Equatable, Comparable {     var id = UUID()     var note: String     var type: String     var amount: Double     var expenseIcon: String     var incomeIcon: String     var date: Date }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How to sum the same category total in SwiftUI?
The results is not what i want but still thank you for your suggestions !
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How to make sound effects in spinning wheel?
Thank you for suggestions, I haven't tried it yet and i will back let you know if i still can't figure it out.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle'
Thank you, I'm working on it this way right now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle'
Thank you I have tried it but the same places throw me another error: Cannot convert value of type 'Double' to expected argument type 'Angle'
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle'
I don't how to how extend or codable Angle , So i tried to declare a new struct Angle to make it codable :(
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on How can i save Angle and [Color] to UserDefaults ?
Sorry, I declare Angle and colors in my model struct, and tried to make them codable ,it Should be like : import Foundation
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Cannot convert value of type 'ChooseModel.Angle' to expected argument type 'Angle'
Thank you, the line missing is struct, I tried to make SwiftUI.Angle codable because I want to store it to UserDefaults, but i don't know how to make SwiftuiAngle codable, So i created on in model struct then i didn't know how to deal with it :(
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21