Type Safely

Type Safely

Use .identified() To Use Any Array In a ForEach

Daily Coding Tip 164

Millie Sturgeon's avatar
Millie Sturgeon
Aug 31, 2022
∙ Paid
brown wooden puzzle game board
Photo by Brett Jordan on Unsplash

If I make Int and String conform to the Identifiable protocol, can I use arrays of them in a ForEach?

Let’s find out!

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