TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Is it possible to add header and footers to an RTF file that a swiftui app is creating?

Forums > SwiftUI

{\header This text will appear in Header} {\footer This text will appear in Footer}

Like to add this to the file but it just show up as text....

I am creating the file from SwifUI. The file creates perfectly but it would be nice to add header/footers to the file. If I jjust add the header/forrter (as above) it just displays it as text. I would like to do this programatically.

I must be mising something here.

3      

How are you creating your RTF file? How are you trying to add the header and footer? We need a lot more to go on before we can try answering your question.

3      

Hacking with Swift is sponsored by Blaze.

SPONSORED Still waiting on your CI build? Speed it up ~3x with Blaze - change one line, pay less, keep your existing GitHub workflows. First 25 HWS readers to use code HACKING at checkout get 50% off the first year. Try it now for free!

Reserve your spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.