Post

Replies

Boosts

Views

Activity

.sheet Cancellation Problem
When user triggers a sheet of a view, it's quite easy to deal with its confirmation action. However, how can I deal with the cancellation action, which means when user taps the cancel button, what they edits can re-become its original version ( I am using SwiftData)?
0
0
337
Jun ’24
Swift Charts Styling
How to apply Swift Charts, for instance, barmark, without x and y axes and labels?
Replies
0
Boosts
0
Views
588
Activity
Sep ’23
The difference between @State private var and @State var?
What's the difference between @State private var and @State var? And when to use the former and when to use the latter?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
1
Boosts
0
Views
794
Activity
Jun ’24
.sheet Cancellation Problem
When user triggers a sheet of a view, it's quite easy to deal with its confirmation action. However, how can I deal with the cancellation action, which means when user taps the cancel button, what they edits can re-become its original version ( I am using SwiftData)?
Replies
0
Boosts
0
Views
337
Activity
Jun ’24
What's a general procedure to combine SwiftData and CloudKit?
I have already built an app using SwiftData and now I want to introduce CloudKit features in it, what should I do? I'm totally new to this part. Thank you!
Replies
1
Boosts
0
Views
990
Activity
Dec ’24