Type Safely

Type Safely

Use .gridCellColumns To Specify When a View Should Span Multiple Grid Columns

Daily Coding Tip 161

Millie Sturgeon's avatar
Millie Sturgeon
Aug 20, 2022
∙ Paid
Photo by Kiran K. on Unsplash

I started by creating a simple view that pads a Text and gives it an outline.

This is mainly so I won’t need to repeat myself, as I’ll be creating 5 of these inside my Grid. The string that will be displayed by the Text will be passed in, along with the Color that will be given to the .border modifier for the outline.

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture