KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
LazyGrid
★ 23
Open GitHub ↗
SwiftUI sample using LazyVGrid
Download README (.md)
Explore Similar Repositories
cve-2020-0688-webshell-upload-technique
:
cve-2020-0688 UNIVERSAL Python implementation utilizing ASPX webshell for command output
ClearVideo
:
Various S-Video devices
scover
:
scover
til
:
Today I Learned
next-critical
:
Critical JavaScript and CSS for Next.js
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
LazyGrid
?
Download (.md)
# SwiftUI sample using LazyVGrid It is a practical application using LazyVGrid announced at WWDC2020. As soon as you download it, you'll see how great it is. It's a beta version, so you need to be aware that it may not work properly with the official release. <div align="center"> <img src="https://github.com/AkkeyLab/LazyGrid/blob/master/sample1.png?raw=true" width="320"/> <img src="https://github.com/AkkeyLab/LazyGrid/blob/master/sample2.png?raw=true" width="320"/> </div> # Installation Run this script to install it. ```sh $ ./setup.sh ``` This application uses Flickr to search for images to display. First, get the Flickr API key from [here](https://www.flickr.com/services/api/). Next, set the acquired character string in `KeyHelper.consumerKey` and `KeyHelper.consumerSecret` respectively. ```swift import Foundation enum KeyHelper { static var consumerKey: String { "XXXXXXXXXX" } static var consumerSecret: String { "XXXXXXXXXX" } } ``` # You can write more simply  The left is an example using `LazyVGrid`. And the right is an example of not using `LazyVGrid` at all. You can see that it is now very simple to implement. Evolution doesn't stop there. As its name suggests, LazyVGrid can handle delayed rendering. The drawing of each View is only started when it is displayed on the screen. # Official documentation - [LazyVGrid](https://developer.apple.com/documentation/swiftui/lazyvgrid) - [LazyHGrid](https://developer.apple.com/documentation/swiftui/lazyhgrid) # Requirements |env |version | |--- |--- | |Swift |5.x | |Xcode |12.x | |iOS |14.x | # License AkkeyLab/LazyGrid is available under the MIT license. See the LICENSE file for more info.