Post

Replies

Boosts

Views

Activity

Comment on ScrollViewProxy scrollTo will crash when scrolling outside of bounds of previous (not current) List data source/array in iPad and iOS 16 beta
That fixes the crash. But now we get another one, randomly, after some tries of the "Randomize & Select Last" Button: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Focus item <SwiftUI.ListCollectionViewCell: 0x1390c1600> does not provide a parentFocusEnvironment.'
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’22
Comment on @FocusedValue from .focusedSceneValue from the Scene Commands
My bad. The bug was not to fixed and still persists...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on @FocusedValue from .focusedSceneValue from the Scene Commands
Doesn't work. In reality I had implemented it from the beginning but forgot to reference it here. Sorry...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on .searchable modifier with a keyboard shortcut
Thanks @Dschee I'll try using SwiftUI-Introspect. However it should be provided by the SDK. It seems obvious.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on .searchable modifier with a keyboard shortcut
It's a solution for macOS, but a bit hacky. Depending "com.apple.SwiftUI.search" seems dangerous.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on ScrollViewProxy scrollTo will crash when scrolling outside of bounds of previous (not current) List data source/array in iPad and iOS 16 beta
To anyone that has the same problem, please post it to radar/ feedback. On my feedback it seems that no one has filled something similar.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on ScrollViewProxy scrollTo will crash when scrolling outside of bounds of previous (not current) List data source/array in iPad and iOS 16 beta
And also in the current 16.1 beta. 😤
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on ScrollViewProxy scrollTo will crash when scrolling outside of bounds of previous (not current) List data source/array in iPad and iOS 16 beta
That fixes the crash. But now we get another one, randomly, after some tries of the "Randomize & Select Last" Button: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Focus item <SwiftUI.ListCollectionViewCell: 0x1390c1600> does not provide a parentFocusEnvironment.'
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on ScrollViewProxy scrollTo will crash when scrolling outside of bounds of previous (not current) List data source/array in iPad and iOS 16 beta
Yes, it crash after a random number of presses of "Randomize & Select Last" but within the Xcode 14.0 and 14.1 latest beta on the iPad 12'' pro simulator with 16.1 beta. It doesn't happens with the iPad simulator with iPadOS 16.0. It seems yet another bug. 😤
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22