Does Swift have a relevant API to generate pages documents?

I want to implement a function to generate a report in the form of pages using the model data of the iOS application.

I didn't find the relevant API.

Please help me find a relevant SDK and some examples.

Thanks.

Does Swift have a relevant API to generate pages documents?
 
 
Q