Post

Replies

Boosts

Views

Activity

Reply to Appcrash on M4 MAX
Are you subdividing some work between different thread? The M4 Max has more cores, and it might expose some multi-threaded issues that aren't visible with fewer cores. Or there is some random out of bounds writing somewhere that for some random reason doesn't cause a crash on your Mac. Try to run it address sanitizer first, and then with thread sanitizer.
3w
Reply to MacCatalyst and the User's Documents Folder
Is your app sandboxed? If so, the only way is to show a NSOpenPanel and ask the user to select the Documents folder (or any other folder). Showing an open panel and asking the user where to put the files is the best option even if the app is not sandboxed. Please don't litter the Documents folder with random things by default.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’25
Reply to Attaching color properties to CVPixelBufferRef
Attach them after the CVPixelBufferCreate call. The attributes dictionary that can be passed to CVPixelBufferCreate is just to setup the pixel format, not to attach other attributes. So call CVBufferSetAttachments after the CVPixelBuffer is created and set them. P.S.: modifying CVPixelBuffer attributes is quite expensive, do it only as needed.
Nov ’25
Reply to XCode26 and Icon Composer woes
Yes, there are some borders. So just make the image you insert into icon composer a bit smaller, and that's it. The colors look the same here, but it could be your original image hadn't a color profile assigned, and it looked differently on a DCI-P3 display. Assign a color profile before importing it in Icon Composer.
Nov ’25
Reply to macOS Tahoe 26.4 Beta 4: Rosetta deprecation warning not shown — bug or intended behavior?
I can't speak for Apple, but they seldom give any official reassurance. If they wrote that Rosetta 2 will be around for virtualization and for some older games, that's all it will work for. If your app is not a game, it's time to make a native version, everything else is just delaying the inevitable.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
6d
Reply to Why is Apple so slow at responding and reviewing
Everyone and their dog are vibe coding slop and sending it for review. And this is the result.
Replies
Boosts
Views
Activity
1w
Reply to Appcrash on M4 MAX
Are you subdividing some work between different thread? The M4 Max has more cores, and it might expose some multi-threaded issues that aren't visible with fewer cores. Or there is some random out of bounds writing somewhere that for some random reason doesn't cause a crash on your Mac. Try to run it address sanitizer first, and then with thread sanitizer.
Replies
Boosts
Views
Activity
3w
Reply to Array of Bool require NSNumber.self in NSKeyedArchiver decoding list of types
Because NSArray can contain only objects, and NSNumber is the class that has been used to box bools, integers, floats, and double since a long time ago.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to Array of Bool require NSNumber.self in NSKeyedArchiver decoding list of types
Like the message said, NSKeyedUnarchiver will require a complete list of all possible types for better security in the future.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to MacCatalyst and the User's Documents Folder
The destination folder should be configurable, not hard-coded to the Documents folder.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’25
Reply to MacCatalyst and the User's Documents Folder
https://developer.apple.com/documentation/security/accessing-files-from-the-macos-app-sandbox
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’25
Reply to MacCatalyst and the User's Documents Folder
Is your app sandboxed? If so, the only way is to show a NSOpenPanel and ask the user to select the Documents folder (or any other folder). Showing an open panel and asking the user where to put the files is the best option even if the app is not sandboxed. Please don't litter the Documents folder with random things by default.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’25
Reply to Attaching color properties to CVPixelBufferRef
Attach them after the CVPixelBufferCreate call. The attributes dictionary that can be passed to CVPixelBufferCreate is just to setup the pixel format, not to attach other attributes. So call CVBufferSetAttachments after the CVPixelBuffer is created and set them. P.S.: modifying CVPixelBuffer attributes is quite expensive, do it only as needed.
Replies
Boosts
Views
Activity
Nov ’25
Reply to XCode26 and Icon Composer woes
Yes, there are some borders. So just make the image you insert into icon composer a bit smaller, and that's it. The colors look the same here, but it could be your original image hadn't a color profile assigned, and it looked differently on a DCI-P3 display. Assign a color profile before importing it in Icon Composer.
Replies
Boosts
Views
Activity
Nov ’25
Reply to How do I have the NSToolbar "floating" on top of content scrollview on macOS Tahoe?
Maybe you need to set the window style to NSWindowStyleMaskFullSizeContentView.
Topic: UI Frameworks SubTopic: AppKit
Replies
Boosts
Views
Activity
Oct ’25
Reply to Why is my YCbCr to sRGB camera pipeline brighter Than Preview Layer? (420YpCbCr8BiPlanarFullRange, AVCaptureVideoPreviewLayer)
I guess you have to use Bt. 1886 instead: https://en.wikipedia.org/wiki/ITU-R_BT.1886
Replies
Boosts
Views
Activity
Sep ’25
Reply to Why isn't Liquid Glass effect applied when using pyobjc?
There is no magic, macOS just checks which version of the SDK was used when compiling the app, if the SDK version is 26 or higher, it will make it go through the new UI path, if not it will get the previous UI. I don't know how the Python bridge works, but it clearly needs to be updated or recompiled with the new SDK.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Sep ’25
Reply to XCode has failed countless times in updates, and every time it fails, it has to be downloaded again
https://developer.apple.com/download/applications/
Replies
Boosts
Views
Activity
Sep ’25
Reply to XCode has failed countless times in updates, and every time it fails, it has to be downloaded again
A downloadable version is still available on https://developer.apple.com/download/
Replies
Boosts
Views
Activity
Sep ’25