Post

Replies

Boosts

Views

Activity

Reply to How can we performantly scroll to a target location using TextKit 2?
That difference is that I adjust the viewport position so the text at end of the document is displayed in the current visible rect (NSView.visibleRect). thank you, let me summarize the approach: receive an estimated (too big or too small) content height update content size with the estimated height move viewport to the end of that height (either it is final or estimated) layout end of the document there do you think that approach translate well to any location in the middle of the document? What about the scrollview scrollbar that depends on the total content Size and updates as layoutmanager update its size, do you have any trick for that?
Topic: UI Frameworks SubTopic: General Tags:
Aug ’24
Reply to Unable to compile Core Image filter on Xcode 26 due to missing Metal toolchain
I still experience this problem with Xcode 26.1 ~ ❯ xcodebuild -downloadComponent MetalToolchain Beginning asset download... 2025-10-28 23:23:43.391 xcodebuild[1151:10353] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.wLDum9” couldn’t be opened because you don’t have permission to view it. Downloaded asset to: /System/Library/AssetsV2/com_apple_MobileAsset_MetalToolchain/4ab058bc1c53034b8c0a9baca6fba2d2b78bb965.asset/AssetData/Restore/022-17211-415.dmg Done downloading: Metal Toolchain 17A324.
Topic: Graphics & Games SubTopic: Metal Tags:
Oct ’25
Reply to Xcode 26 CompileMetalFile failed
Sure: ❯ xcodebuild -showComponent metalToolchain ; xcrun -f metal ; xcrun metal --version 2025-10-31 19:42:19.179 xcodebuild[11856:231862] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.Qp6DBA” couldn’t be opened because you don’t have permission to view it. 2025-10-31 19:42:19.414 xcodebuild[11856:231864] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.Qp6DBA” couldn’t be opened because you don’t have permission to view it. 2025-10-31 19:42:19.417 xcodebuild[11856:231860] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.Qp6DBA” couldn’t be opened because you don’t have permission to view it. Asset Path: /System/Library/AssetsV2/com_apple_MobileAsset_MetalToolchain/4ab058bc1c53034b8c0a9baca6fba2d2b78bb965.asset/AssetData Build Version: 17A324 Status: installed Toolchain Search Path: /private/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v17.1.324.0.Qp6DBA /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain
Oct ’25