Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subclass INObject?

Can one subclass INObject?

I ask because I have an Intents Handler Extension for Siri Shortcuts. I attempted to create a subclass for INObject because I want to add an extra property. Seems like it works just fine here.

However, I also have an Intents Handler UI Extension. When my response object gets to this point, I have a handle on the INObject and its identifier and display string. But, when I try to cast it to my custom INObject sublcassed type, the result is nil and therefore I cannot access my custom property.

Does anyone know how to pass custom properties from the Intents Extension to the Intents UI Extension using the custom INObject?

like image 851
Mario A Guzman Avatar asked Mar 16 '26 04:03

Mario A Guzman


1 Answers

Apple Engineering got back to me that this is not supported.

like image 162
Mario A Guzman Avatar answered Mar 17 '26 17:03

Mario A Guzman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!