Top 10 SwiftUI Libraries for iOS Developers

Popular and interesting SwiftUI libraries that may be useful to you in current or future projects.

Since its initial announcement during WWDC 2019 and the subsequent release alongside iOS 13 in September, SwiftUI has piqued the interest of many developers, who started experimenting with it in their per projects and libraries.

Some actually started using it in their production ready apps, even though SwiftUI definitely has a long path of improvements and changes ahead of it

In this article we compiled some popular and interesting SwiftUI libraries that may be useful to you in current or future projects.

Criteria

When deciding which libraries to include, we took into account the scope of the problems it solves, as well as its popularity on GitHub.

Collection Containers and Layouts

A lot of developers were surprised by the lack of a UICollecitonView alternative in SwiftUI. Possible solutions for this include implementing UIViewRepresentable to wrap a UICollectionView, or using of of these libraries:

QGrid

QGrid works on the same principle as the List control included in SwiftUI. It is easily configurable and has a comprehensive API.

ASCollectionView

ASCollectionView uses UIKit’s UICollectionView, but provides a SwiftUI-oriented way to interact with it. Some of the noteworthy features include preloading data and the ability to use any UICollectionViewLayout.

WaterfallGrid

A flexible implementation of the waterfall grid with plenty of customisation and support for cell animation.

Fancy Stuff

These two repos can interest be of interest if you want to add some eye-catching widgets to your application.

ConcentricOnboarding

The oldest and most popular onboarding library for SwiftUI. It can be used to create a walkthrough for you application with customisable concentric animation.

ChartView

One of the few libraries at the time of writing that lets you draw line, bar and pie charts. It provides 8 different styles and can be tailored to any design.

Image Processing

Majority of apps today require some amount of image processing, from showing local assets to downloading, caching and modifying images retrieved from the backend.

SDWebImageSwiftUI

A very popular library SDWebImage is now available for SwiftUI with the same functionality.

SwiftUIImageEffects

This library is the SwiftUI version of the well-known set of UIImage extensions, first implemented by Apple in Objective-C. It will let you use high-performance blur and tint effects.

Useful Extensions and Utilities

We wrap up this compilation with a trio of general-use repositories that will be useful to almost any developer.

SwiftUIX

This is a repo full of different extensions that enhance and simplify the usage of the default SwiftUI API.

SwiftUIFlux

A SwiftUI-based Redux implementation that helps manage application states by employing BindableObject from the Combine library.

KeyboardObserving

KeyboardAvoiding is another Combine-base solution that helps observe keyboard-related events in your app.

It seems new libraries for SwiftUI are released every day, and it can be hard to predict which of them will be popular (or de-facto standard) in the future. But it’s exciting to see the communities interest and willingness to improve this new technology.

Subscribe to our Twitter account to receive a weekly iOS Development Newsletter to keep up to date with the latest mobile and SwiftUI related news!

Read similar articles

Blog = SwiftUI Tutorial: Replicating the Activity Application

SwiftUI Tutorial: Replicating the Activity Application

How to implement one of the screens in one of Apple’s application - Activity

Learn more 4 min read
Blog = How SwiftUI Replaced our Open Source Framework

How SwiftUI Replaced our Open Source Framework

iOS graphics library goes almost useless the minute Apple releases their SwiftUI.

Learn more 7 min read
Blog = SwiftUI Tutorial for Slider Control

SwiftUI Tutorial for Slider Control

Featuring spring animation and liquid-like motion graphics

Learn more 6 min read