Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Use a ShareLink To Share Any Text In a Written Into a TextField

Use a ShareLink To Share Any Text In a Written Into a TextField

Daily Coding Tip 153

Millie Sturgeon's avatar
Millie Sturgeon
Aug 12, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Use a ShareLink To Share Any Text In a Written Into a TextField
Share
shallow focus photography of strawberries on person's palm
Photo by Artur Rutkowski on Unsplash

Apologies for this one being sent out late, Substack had issues last night that prevented me from even scheduling it to post later.

It is possible to share any RandomAccessCollection where each element conforms to the new Transferable protocol using a ShareLink. In this example, the initialiser for a ShareLink actually…

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