The Foundation Models framework in iOS 26 introduces @Generable and @Guide macros that automatically convert unstructured language model responses into typed Swift structs. The @Generable macro marks structs for automatic conversion, while @Guide provides specific instructions to the model for generating properties like array
Sort: