BLACK FRIDAY SALE: Save 50% on all my Swift books and bundles! >>

Display Text in SwiftUI

Forums > SwiftUI

I have an array of String that contains information about books. The thing is I want to display like the image I have atteched below. How can I use ForEach to display, not using grid? Sorry I dont know how to display the image correctly in Forum.

<a data-flickr-embed="true" href="" title="164411953_913618239469677_6655324661087427421_n"><img src="" width="994" height="1024" alt="164411953_913618239469677_6655324661087427421_n"></a>


You probably need some sort of grid. Check out this tutorial. It may help:


Save 50% in my Black Friday sale.

SAVE 50% To celebrate Black Friday, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.