Post

Replies

Boosts

Views

Activity

Reply to ObservableObject as a singleton vs EnvironmentObject
Environment objects are better as you can just attach it in the @main and access everywhere in the app. But both of them have it's own use cases.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Swift preview SwiftUI mode for iOS app not working at all…
To be honest, I stopped using the previews as it's so slow in mac mini m1. When I add a new file, I delete the code which is responsible for the preview and always run the simulator to see if I did it correctly. It's a pain in the bum, but still better than non-responsive previews.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to How to show text only if button is pressed
I still don't get what you're trying to do. So you have a MemorySA array of answers. Then each answer options will list as a button. You gonna click one of them. Then it should remove all the buttons and only show a text of the actual answer?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to How to show text only if button is pressed
I still don't get what you're trying to do. So you have a MemorySA array of answers. Then each answer options will list as a button. You gonna click one of them. Then it should remove all the buttons and only show a text of the actual answer?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Bogus 4.3.0 Rejections - Need Help!
Did you get it approved? I think thousands of pixalation apps are there. That's why they are rejecting it. May be they are promoting their own app. May be a developer is having the same app developed and now he wants to have all the earnings. Could be internal politics. Anything can happen.
Replies
Boosts
Views
Activity
Apr ’22
Reply to swift-frontend memory usage
I'm also having the exact same issue, it shows 50 GB memory usage and asks me to force quit apps to freeup memory. Very strange.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Accessing variables in one class from other class
..
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21