Post

Replies

Boosts

Views

Activity

Reply to Couple questions about NavigationSplitView in SwiftUI
The NavigationSplitView works with List selection, and the NavigationLink must include the label and a value. The new process is explained here https://developer.apple.com/videos/play/wwdc2022/10054/ Although it works, there is an issue with the view at the moment. If you use an if else or a switch to select the view to show in Detail, it doesn't work. The solution for now is to embed it in a ZStack, as explained in this post https://developer.apple.com/forums/thread/707924
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’22
Reply to Scrolling Issue in macOS Monterey (21A5522h) M1 Macbook Pro
I have the same issue with my Mac Mini M1. It stops scrolling on browsers and it starts jumping around on other applications. I filed a bug report. I hope they fix it for the final release because it makes the Magic Trackpad useless. Here is a quick video I made to show the problem. At first, it seems to work but then stops scrolling and fails two or three more times. It keeps failing every three or four attempts or every four or five seconds. I tried everything, but nothing solves the issue. It looks like a bug in Monterrey. https://www.youtube.com/watch?v=OxhW7biM5m0
Topic: Community SubTopic: Apple Developers Tags:
Sep ’21
Reply to Couple questions about NavigationSplitView in SwiftUI
The NavigationSplitView works with List selection, and the NavigationLink must include the label and a value. The new process is explained here https://developer.apple.com/videos/play/wwdc2022/10054/ Although it works, there is an issue with the view at the moment. If you use an if else or a switch to select the view to show in Detail, it doesn't work. The solution for now is to embed it in a ZStack, as explained in this post https://developer.apple.com/forums/thread/707924
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Xcode bug in SwiftUI previews when using Core Data
I solved all the issues by replacing the NSSortDescriptor class by the SortDescriptor structure.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Xcode bug in SwiftUI previews when using Core Data
Do you know a better way to create the persistent store for the previews? I tried other approaches but the previews always crashes.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Unable to enter text in TextField - SwiftUI preview
I have the same problem in Xcode 13.2. The only solution was to uninstall the 13.2 version and install the 13.1 version again. Very annoying.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Scrolling Issue in macOS Monterey (21A5522h) M1 Macbook Pro
I have the same issue with my Mac Mini M1. It stops scrolling on browsers and it starts jumping around on other applications. I filed a bug report. I hope they fix it for the final release because it makes the Magic Trackpad useless. Here is a quick video I made to show the problem. At first, it seems to work but then stops scrolling and fails two or three more times. It keeps failing every three or four attempts or every four or five seconds. I tried everything, but nothing solves the issue. It looks like a bug in Monterrey. https://www.youtube.com/watch?v=OxhW7biM5m0
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Sep ’21