Anyone manage to get custom enum parameters to work with AppIntents and widgets? Whenever I try to pass a value in, it seems it wants a generic “IntentParameter" instead of the actual value, which seems contrary to the WWDC videos just passing values. Am I doing something silly?
So apparently you just need to add manual constructors yourself for each parameter for some reason, wish the videos had sample code or mentioned that >_<
Thanks to @chockenberry for the tip plus some sample code:
https://github.com/chockenberry/Intentional/blob/main/Intentional/Shared/AppIntents.swift
