Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Use .fileExporter To Export Files To The Files App

Use .fileExporter To Export Files To The Files App

Daily Coding Tip 134

Millie Sturgeon's avatar
Millie Sturgeon
Jul 23, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Use .fileExporter To Export Files To The Files App
Share
pathway between yellow flower field
Photo by Raquel Pedrotti on Unsplash

I’m going to start by creating a new document type with the FileDocument protocol. This defines how the data will be added to a new file when it is saved to the Files app.

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share