Post

Replies

Boosts

Views

Activity

Reply to Progress bar in NSTableCellView changes to other cell when scrolling
NSTableCellView are reused, to avoid wasting memory. So you will have to keep this in mind when designing the way you update the cells. One way to is subclass NSTableCellView, add a property that contains the object doing the work, and then observe the progress of the object. This avoid having to find the right cell everything. When a cell is reused, just swap the object and refresh the observers.
Topic: UI Frameworks SubTopic: AppKit
Jul ’24
Reply to Extract metadata MXF files
When in doubt, check the framework header directly, you can find the one you want in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaToolbox.framework/Versions/A/Headers/MTProfessionalVideoWorkflow.h
Topic: Media Technologies SubTopic: Audio Tags:
May ’24
Reply to H.264 License
You aren't shipping any H.264 decoder or encoder in your app, so there is no fee to pay. However, if you want to be as sure as possible, ask a lawyer.
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to When will ARM SVE be available on APPLE chips?
There is no way to know until Apple actually releases a chip that supports it.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Will CVPixelBuffer created from CVPixelBufferPoolCreatePixelBuffer keep existing pixels
There is no guarantee. It would be better to keep a reference to the previous CVPixelBuffer, so will be sure it's the one you want.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Changing the theme of macOS app?
That's the accent color, you can see it in your app Info.plist, check https://developer.apple.com/documentation/bundleresources/information_property_list/nsaccentcolorname for more info.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Oct ’24
Reply to Possibly Incorrect Statement in AppKit Release Notes for macOS 14.
Yes that seems backwards. macOS 14 SDK defaults to false, it doesn't clips to bounds.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Notarization and application development
Maybe set up a single CI server can checkout and compile a repository provided by the developer. So the certificate will be only on that server, and it won't be accessible by anyone.
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to locale in Objective-C++ is confusing
What's the reason for setting locale? Unless you are using some old C standard library or posix API, there is usually no reason to change it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Will a Major Update from Flutter to SwiftUI Affect App Store Review Approval?
You won't get any official answer about the App Store policies here, but the App Store reviewers look at the actual app experience, not at the way you built it. Each update you send will be reviewed as usual, it doesn't matter if you change the whole thing or not.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Progress bar in NSTableCellView changes to other cell when scrolling
NSTableCellView are reused, to avoid wasting memory. So you will have to keep this in mind when designing the way you update the cells. One way to is subclass NSTableCellView, add a property that contains the object doing the work, and then observe the progress of the object. This avoid having to find the right cell everything. When a cell is reused, just swap the object and refresh the observers.
Topic: UI Frameworks SubTopic: AppKit
Replies
Boosts
Views
Activity
Jul ’24
Reply to AppleTV HD (4th A1625): is not able to play H265 with Fairplay DRM stream?
The AppleTV 4th doesn't have an hardware HEVC decoder, so decoding HEVC is limited to software, maybe there isn't enough CPU power to decode it when FairPlay DRM is used, or there is some arbitrary check that disables it.
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Keyboard and Mouse Input in C++ for MacOS
MetalCPP is simply an header wrapper around the Metal Objective-C API. It's already possible to call every Objective-C API from C++, by using Objective-C++ in a .mm file.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Problem with setNeedsDisplay:
Are you sending setNeedsDisplay to the right view?
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to IOSurface objects aren't released in ScreenCaptureKit
How are you getting the CVImageBufferRef? Are you releasing it after you are done? Try to run the clang static analyzer in Xcode.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Question regarding the kVTVideoEncoderList_IsHardwareAccelerated flag
From my experience, VideoToolbox dictionaries are often incomplete or wrong. Anyway, yes, H.264 and HEVC encoders and others are always hardware accelerated on iOS.
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Extract metadata MXF files
When in doubt, check the framework header directly, you can find the one you want in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaToolbox.framework/Versions/A/Headers/MTProfessionalVideoWorkflow.h
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
May ’24