Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Support
This is the way I know: UIMenuController.shared.menuItems = [UIMenuItem(title: "some_title" , action: #selector(some_function))] however it is now deprecated and replaced with UIEditMenuInteraction which I have no idea how to implement with a UIViewRepresentable, if someone figures how I'll be happy to know.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to DisclosureGroup with "isExpanded" makes the app on Mac (designed for Ipad) unresponsive
Apparently DisclosureGroup wasn't the issue. Deleting the project from Library > Containers folder before every run solves the problem. I have no idea why this is necessary but I hope this will be addressed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to DisclosureGroup with "isExpanded" makes the app on Mac (designed for Ipad) unresponsive
edit: this happens when using multiple DisclosureGroup with different @State variables in "isExpanded" in the same view (it works if it's just one).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to DisclosureGroup not animating with Xcode 14
For anyone who's interested, there is a problem with @AppStorage and animations in Xcode 14. I resolved the Issue by using @State and saving to @AppStorage with "onChange". I hope this will get fixed soon so I can remove that extra step.
Replies
Boosts
Views
Activity
Sep ’22
Reply to DisclosureGroup not animating with Xcode 14
Correction: this happens when using an @AppStorage variable in "isExpanded" instead of a @State variable. Does someone know how I can use an @AppStorage variable so the app will remember the state after reopening the app and still keep the Disclosure Groups animation?
Replies
Boosts
Views
Activity
Sep ’22
Reply to DisclosureGroup not animating with Xcode 14
Am I the only one experiencing this? it'll be nice if someone else can confirm if this is indeed an issue.
Replies
Boosts
Views
Activity
Sep ’22
Reply to SwiftUI Support
This is the way I know: UIMenuController.shared.menuItems = [UIMenuItem(title: "some_title" , action: #selector(some_function))] however it is now deprecated and replaced with UIEditMenuInteraction which I have no idea how to implement with a UIViewRepresentable, if someone figures how I'll be happy to know.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to NSCloudKitMirroringExportRequest issues
Same thing here. my debugger console is exploding with these. Tried the things suggested here nothing works. Anyone figured this out?
Replies
Boosts
Views
Activity
Aug ’22