Core Image has had type-safe CIFilters for years. I always forget these exist because they don’t show up in the documentation.
• Xcode 14.3 has no search results for e.g. "CITextImageGenerator".
• Searching for the same thing on the web works though. And once you navigate to one filter, all the other filters magically appear in the sidebar too! It just works™️! (You also have to `import CoreImage.CIFilterBuiltins`; good luck on finding that out.) https://developer.apple.com/documentation/coreimage/citextimagegenerator/