Post

Replies

Boosts

Views

Activity

Comment on CIImage.clampedToExtent() doesn't fill some edges
Never mind! The issue I was investigating is actually tied to tiling. If you are working with opaque images one solution would be to crop the image before calling clampedToExtent() to an integral rectangle. You want something similar to what CGRectIntegral() does, except that instead of expanding to the nearest integral coordinates, you shrink inward to make sure only fully opaque pixels fall within the rectangle.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’23
Comment on Xcode 16 crashes when attempting to view Build Settings for a target with Build Carbon Resources phase
Your instructions mention attaching a crash report here, and a sample project. But I don't see any options to add attachments on these forums. The character limit for these replies makes it impossible to paste in a crash report. Hope I'm not missing something... in any case the supporting files are now attached to the FB issue.
Jul ’24
Comment on Core Image content filters broken in Big Sur
Were you ever able to get custom CIFilters working as contentFilters for a NSView? It's a year later, I just tried on macOS 11.6.3 and they don't work (haven't tested macOS 12 yet)
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Xcode 15: "Cycle inside ...; building could produce unreliable results" due to DSTROOT=/
Which one of your targets fail? Is it the app? Do you have explicit dependencies on both frameworks in the app target? Does it make any difference if you turn off the Find Implicity Dependencies option under your Scheme > Build settings?
Replies
Boosts
Views
Activity
Jun ’23
Comment on Anyone else finding Beta 2 really sluggish?
Seems slower than Beta 1, but possibly due to some specific regressions. For example: up to 20 seconds between selecting Edit All in Scope and actually being able to edit the symbol. This is an apparent data point since this is an operation I was doing many times a day, i.e. until Beta 2. 🤷‍♂️
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Comment on CIImage.clampedToExtent() doesn't fill some edges
Never mind! The issue I was investigating is actually tied to tiling. If you are working with opaque images one solution would be to crop the image before calling clampedToExtent() to an integral rectangle. You want something similar to what CGRectIntegral() does, except that instead of expanding to the nearest integral coordinates, you shrink inward to make sure only fully opaque pixels fall within the rectangle.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on How to prevent TSAN from reporting data-races that are intentional and considered safe?
Thank you for the link! It won't hurt to become familiar with that codebase.
Replies
Boosts
Views
Activity
Dec ’23
Comment on How to prevent TSAN from reporting data-races that are intentional and considered safe?
Thanks Quinn, you’ve given me more than enough pointers to move forward.
Replies
Boosts
Views
Activity
Dec ’23
Comment on Xcode 16 crashes when attempting to view Build Settings for a target with Build Carbon Resources phase
Your instructions mention attaching a crash report here, and a sample project. But I don't see any options to add attachments on these forums. The character limit for these replies makes it impossible to paste in a crash report. Hope I'm not missing something... in any case the supporting files are now attached to the FB issue.
Replies
Boosts
Views
Activity
Jul ’24
Comment on Xcode 15: Core Data : No NSValueTransformer with class name *** was found for attribute YYY on entity ZZZ for custom `NSSecureUnarchiveFromDataTransformer`
Confirmed fixed in Xcode 16.
Replies
Boosts
Views
Activity
Oct ’24