Post

Replies

Boosts

Views

Activity

Comment on How can I integrate my own text changes into UITextView's undo manager?
Hello! Thanks for the reply. Just using insertText doesn't quite work for me, because I need to insert attributed strings. My full use case is implementing bulleted lists without using NSTextList (because I have to support older OS versions), and selecting multiple lines and doing things like changing the indent level or removing list styling. The user taps one button and I have to add/remove/change list prefixes and change paragraph style attributes, and I want that to be undoable in one step.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’23
Comment on Navigation bar of custom-presented navigation controller moving to app title bar in Catalyst on Ventura
Setting this property prevents the contents of the navigation bar moving to the toolbar, but the toolbar still grows in height when I custom-present a view controller, and doesn't shrink back to normal height when the presented view controller disappears. The expanded toolbar covers content that I had previously pinned to the top safe area, until I recreate those safe area constraints. Is this expected, or should I file a Feedback?
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’22
Comment on How can I integrate my own text changes into UITextView's undo manager?
Hello! Thanks for the reply. Just using insertText doesn't quite work for me, because I need to insert attributed strings. My full use case is implementing bulleted lists without using NSTextList (because I have to support older OS versions), and selecting multiple lines and doing things like changing the indent level or removing list styling. The user taps one button and I have to add/remove/change list prefixes and change paragraph style attributes, and I want that to be undoable in one step.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’23
Comment on Navigation bar of custom-presented navigation controller moving to app title bar in Catalyst on Ventura
Setting this property prevents the contents of the navigation bar moving to the toolbar, but the toolbar still grows in height when I custom-present a view controller, and doesn't shrink back to normal height when the presented view controller disappears. The expanded toolbar covers content that I had previously pinned to the top safe area, until I recreate those safe area constraints. Is this expected, or should I file a Feedback?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22