Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 1
Generated: 02:10:22
I’ve been quiet on Nostr. Just been hustling to implement custom solutions to fix the problems I ran into with my notes app - more specifically `NSTextView`. The worst part is, I only have a functional solution for #AppKit (which is for #macOS). When I start developing the #iOS app, I will need to implement the same functionality but this time in #UIKit. I have no idea if UIKit even gives me the control I need for `UITextView` to achieve the same functionality I have with `NSTextView`. The thing is, I’ve never used UIKit before, but I also had no experience with AppKit before starting this project and so far it’s going fine… The functionality I’ve been implementing is to allow navigating the caret across multiple sequential `NSTextView`s. This is essential for my notes app and I finally have a working solution. Only basic stuff is missing like `Cmd+A`, which should select text in all the text views (currently only selects text in the focused text view). I do already have this functionality, but it’s in a different Xcode project, so I’ll need to integrate it into the new one. #dev
2025-12-04 22:13:03 from 1 relay(s) 1 replies ↓
Login to reply

Replies (1)

Besides caret navigation, the functionality also includes making text selections across multiple sequential `NSTextView`s. When this is fully implemented in the final project, I think I should try to get `NSTextView` working with `NSTextAttachment`. I do actually have that working, but I chose to abandon this approach temporarily because merging all the blocks into a single `NSTextView` caused problems with incorrect ranges. Obviously, the problem is because of the logic that is either missing or incorrect somewhere in my code. But I’m glad I now have the approach with separate text views mostly working.
2025-12-04 22:19:44 from 1 relay(s) ↑ Parent Reply