GFCollection View of SwiftUI! Try arranging the images in LazyGrid

A simple way to use the Swift UI’s Lazy Grid

How to do CollectionView with SwiftUI?

Collection View with contents lined up in squares.
How can I do it with Swift UI?

LazyGrid

With LazyGrid, you can create a CollectionView while taking advantage of the layout function of SwiftUI.

Method

Since it is in the ScrollView, it scrolls.

🐣

I’m a freelance engineer.
Work consultation
Please feel free to contact us with a brief development description.
rockyshikoku@gmail.com

I am making an app that uses Core ML and ARKit.
We send machine learning / AR related information.

GitHub

Twitter
Medium

--

--

--

Freelance iOS developer. You can ask me for a job from any country. rockyshikoku@gmail.com https://github.com/john-rocky https://twitter.com/JackdeS11

Love podcasts or audiobooks? Learn on the go with our new app.

RxSwift: Have a UITextField Set a Value for a UILabel

Use Swift 5 and SnapKit to craft any interface programatically — (1) Setup

Designing a Pixel Perfect iMessage Contacts List in SwiftUI

Calculate the height of a UILabel with constrained width

How To Create a Public CocoaPods Library

Hand holding an iPhone

Tokopedia iOS: Hello 2021, Rewind 2020

Prepare iOS App for Azure Pipelines 2

Memory Management in Swift: Heaps & Stacks

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
MLBoy

MLBoy

Freelance iOS developer. You can ask me for a job from any country. rockyshikoku@gmail.com https://github.com/john-rocky https://twitter.com/JackdeS11

More from Medium

Thirty Days of Metal — Day 6: Pipelines

Check UITableViewCell currently exists before tableview reloadRows刷新Cell前檢查Cell當下元件是否已生成

Augmented Performance in SwiftUI & RealityKit

ARKit 911 — Image Tracking in Swift Playgrounds