Post

Replies

Boosts

Views

Activity

Comment on How can we performantly scroll to a target location using TextKit 2?
I analyzed again the alignViewportToDocumentEndLocationIfNeeded() you provided, and noticed that despite it being called from textViewportLayoutControllerDidLayout the viewportLayoutController.viewportRange! is sometimes nil (and crashes). I also noticed that the adjustement sometimes failing to adjust viewport to display the end of the document - all of that happens when scrolling is done fast - I'm aware it is vague, but I don't have more context to it myself, it looks misterious to me
Topic: UI Frameworks SubTopic: General Tags:
2w
Comment on how to perform xcrun with sandbox
It's been 5 years, and looks like things changed. As of today /Applications/Xcode.app/Contents/Developer/usr/bin/simctl is just a trampoline to execute /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/Resources/bin/simctl that to my surprise does not need security scoped bookmark to launch. Sandboxed app runs simctl "just like that". That something I didn't expect.
Topic: Code Signing SubTopic: General Tags:
May ’22