Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Add Anything To The Xcode Library With LibraryContentProvider

Add Anything To The Xcode Library With LibraryContentProvider

Daily Coding Tip 053

Millie Sturgeon's avatar
Millie Sturgeon
Apr 06, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Add Anything To The Xcode Library With LibraryContentProvider
Share
Image by Ronald Carreño from Pixabay

Create a new SwiftUI app project called Providers.

This should create two files: ContentView and ProvidersApp. Ctrl or right click these and delete them.

Create a new Swift file without selecting the SwiftUI file template as we don’t need the example code that Apple provides.

You can call this file whatever you want, …

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