Hi,
I try to use Intent App Extension and Custom Intent ( .intentdefinition file ) for an application developped in Objective-C
But i can't find the code about CustomIntent class and CursomIntentHandling protocol like in Swift
Should i do all manually ?
Thank you for help
OK, i found my mistake
In the .intentdefinition, select the custom intent
on the right, Show identity Inspector
the field "Custom class" contain the default name of the class : clic on the arrow to open the file
then you can #import "PrefixNameIntent.h" in your sources
If there is no arrow, it's because the file is not yet generated : you have to buil the project before.
so before coding with the new intent class,
create intent definition,
build the project,
and then, use the intent in code with #import