Post

Replies

Boosts

Views

Activity

Comment on What is the recommended way to assign an optional Swift property a decoded primitive with `NSCoder`?
Thank you for the response. Unfortunately with this approach, I encounter an error in the console Error: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver decodeDoubleForKey:]: value for key (some_optional_double) is not a 64-bit float" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver decodeDoubleForKey:]: value for key (some_optional_double) is not a 64-bit float}.
Topic: App & System Services SubTopic: General Tags:
Apr ’23
Comment on General guidelines for improving body pose action classifier performance
Thank you, I wasn't aware of this class and maybe missed it in my viewing of WWDC sessions. Without code listings and commentary in the docs however, I'm unsure how to use it. Currently I perform a VNDetectHumanBodyPoseRequest continually in an Operation subclass, since I'm reading each CMSampleBuffer from the imported source video. I'm unsure as to where the VNVideoProcessor might fit into this pipeline, and what exactly analyze(_:) does.
Jan ’22
Comment on How to configure visionOS app icon in existing iOS project
Unable to get this working in a Designed for iPad app on the Apple Vision Pro simulator. Is this supported?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on What is the recommended way to assign an optional Swift property a decoded primitive with `NSCoder`?
Thank you for the response. Unfortunately with this approach, I encounter an error in the console Error: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver decodeDoubleForKey:]: value for key (some_optional_double) is not a 64-bit float" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver decodeDoubleForKey:]: value for key (some_optional_double) is not a 64-bit float}.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on `Undefined symbol: _OBJC_CLASS_$_DDLog` when trying to run unit tests with Simulator target
Thanks Quinn. "I recommend that you investigate where that class is expected to be coming from and add it to the libraries list for the target that’s missing it." It looks like the specific library is a CocoaPods one, do you know how I would add this to the "libraries list" in the unit test target?
Replies
Boosts
Views
Activity
Sep ’22
Comment on How can I improve the speed of running a `VNDetectHumanBodyPoseRequest` on a `VNImageRequestHandler` for every `CMSampleBuffer` of an imported video?
Thanks, good idea. One way I've improved speed so far is by simply using VNVideoProcessor to do a lot of the heavy lifting. I somehow missed that it exists in the WWDC sessions, oops!
Replies
Boosts
Views
Activity
Jan ’22
Comment on Apple sample code "Detecting Human Actions in a Live Video Feed" - accessing the observations associated with an action prediction
My mistake, I meant for the title to only be for this other completely different question: https://developer.apple.com/forums/thread/698509. Yesterday I got a compiler error for simply adding a conditional, but the issue was something else I missed with a misleading error message.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on General guidelines for improving body pose action classifier performance
Answered my own question again haha, analyze(_:) returns when the video is finished processing.
Replies
Boosts
Views
Activity
Jan ’22
Comment on General guidelines for improving body pose action classifier performance
Is there a way to track when the analysis finishes?
Replies
Boosts
Views
Activity
Jan ’22
Comment on General guidelines for improving body pose action classifier performance
Oh I see, it continually runs pose detection requests and calls the handler, so I don't think I'd need an Operation.
Replies
Boosts
Views
Activity
Jan ’22
Comment on General guidelines for improving body pose action classifier performance
Thank you, I wasn't aware of this class and maybe missed it in my viewing of WWDC sessions. Without code listings and commentary in the docs however, I'm unsure how to use it. Currently I perform a VNDetectHumanBodyPoseRequest continually in an Operation subclass, since I'm reading each CMSampleBuffer from the imported source video. I'm unsure as to where the VNVideoProcessor might fit into this pipeline, and what exactly analyze(_:) does.
Replies
Boosts
Views
Activity
Jan ’22
Comment on Should a delegate property passed into a struct also be declared as weak in the struct?
Thanks, my mistake with the type capitalization.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Skip ahead and rewind 15 seconds controls in an inline AVPlayerViewController
It looks like there’s no edit tags feature, at least on the mobile site.
Replies
Boosts
Views
Activity
Aug ’21
Comment on Skip ahead and rewind 15 seconds controls in an inline AVPlayerViewController
Oops, I thought I had actually tagged it with AVKit. Fixing.
Replies
Boosts
Views
Activity
Aug ’21
Comment on In UIKit, how do you present a confirmation dialog when the user is swiping to delete a table view cell?
Oh good point! I had only thought in terms of allowing a full swipe.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Code signing failed on latest non-beta Xcode in macOS Monterey beta 1
Thanks for letting us all know!
Replies
Boosts
Views
Activity
Jul ’21
Comment on Xcode 12.5 on macOS 12: Code signing "MyAppExtension.appex" failed.
The archive successfully signed and uploaded in Xcode 13.0 beta (13A5154h). Can I expect it will be accepted in review if the archive generation happened with the public Xcode, but the upload happened with Xcode beta? What about for TestFlight, but publicly and internally?
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21