DEV Community

Tobeas Brennan
Tobeas Brennan

Posted on • Updated on

 

A SwiftUI CollectionView (with proper custom layouts)

We've been working with SwiftUI lately and worked some generics magic to implement a SwiftUI CollectionView (with UICollectionView underlying it).

Check it out at https://github.com/apptekstudios/ASCollectionView

Any ideas for changes in the API or other improvements are very welcome in the issues tab :)

Example 1
Example 2

Latest comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesnโ€™t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.