20+ SwiftUI Open-Supply Tasks With Guided Tutorials | by Anupam Chugh | Jul, 2022


A set of SwiftUI initiatives printed on Higher Programming

Photograph by Nick Fewings on Unsplash

SwiftUI, Apple’s declarative UI framework was launched in 2019 and has solely gotten higher from there.

Under, we’ve compiled a few of the greatest SwiftUI open-source initiatives and guides created by Higher Programming authors. I hope it conjures up you to construct extra stuff utilizing this wonderful framework.

All of us love implementing charts in our SwiftUI apps. To our respite, Apple now has a Charts framework to shortly populate any kind of chart.

However ever questioned find out how to construct it in 3D? Go no additional, as Mark exhibits us find out how to construct it utilizing SceneKit and SwiftUI on this repository. It’s also possible to try, the companion tutorial for it.

SwiftUI 3D Bar Charts

With the brand new Charts framework, we’ve got the flexibility to create line, space, rule, level charts as properly, however the Pie charts element continues to be lacking. Gladly, we needn’t reinvent the wheel as Nazar Ilamanov’s GitHub venture exhibits find out how to construct and customise pie charts. Right here’s the accompanying tutorial on it.

SwiftUI Pie Charts

A useful venture that makes use of gestures to detect swipe instructions whereas additionally leveraging the idea of arrays. You’ll be able to try the full-tutorial by Sarah right here.

One record row for every Reddit put up, one other display screen to indicate your complete record of posts, with a search area, and a 3rd for displaying the net content material are all it took for Eric to create a Reddit consumer app utilizing SwiftUI. It’s accessible on this GitHub repository with a hands-on tutorial as properly.

Earlier than SwiftUI for iOS 14, there was no manner of making a SwiftUI Toolbar like in UIKit. So, Keith Lander applied his personal Swift package deal referred to as ToolbarSUI. It’s accessible on GitHub, with a how-to information as properly right here.

By combining GeometryReader, gestures, and offsets, Brandon Baarsventure exhibits find out how to shortly construct a swipeable playing cards SwiftUI prototype that’s in style in all courting apps immediately. Right here’s the tutorial that walks us by the whole implementation.

Constructing animations in SwiftUI is loads simpler than in UIKit. Harnessing the Steel framework out of the field makes SwiftUI animations solely extra highly effective and intuitive.

Fernando Moya de Rivas’s open-source venture is an interactive one which exhibits find out how to animate bank cards through the use of rotation3DEffect, scaleEffect, and transition modifiers. The step-by-step tutorial is out there right here.

Who doesn’t bear in mind the traditional wheel picker and album cowl circulate of iPods! Again-to-back inspiring initiatives by Fernando. This one exhibits find out how to replicate the iPod design through the use of the divide-and-conquer technique. Right here’s a tutorial on it.

Creating machine studying fashions and operating them on-device with much less boilerplate code is attractive to construct AI-based apps. Fred Grey exhibits find out how to predict whether or not an announcement is constructive or adverse in real-time and show emojis — utilizing SwiftUI, CoreML, CreateML, and NaturalLanguage framework.

Primarily based on a Dribbble design, this venture exhibits find out how to create customized versatile pickers with selectable views in SwiftUI. Jędrzej Chołuj has described your complete implementation in this story.

WidgetKit was launched with iOS 14, and constructing widgets utilizing SwiftUI is a complete lot simpler immediately. Like this venture explores the method of making a weight progress widget with a step-by-step tutorial by Akashlal Bathe.

By utilizing SwiftUI supplies Sarah explores the other ways to create login screens with glass-like results — convex, concave, and flat to call just a few.

SwiftUI does present loads of views and controls to construct manufacturing apps, however there are nonetheless some lacking elements — like the flexibility to assist multi-selection in lists.

Right here’s an open-source venture by Cihat to plug in that customized element.

By utilizing the brand new Canvas view, constructing a paint utility will be a lot enjoyable. Mark exhibits find out how to be artistic through the use of the Imaginative and prescient framework to detect the drawn textual content from canvas.

This venture creates a customized cluster of phrases of various shapes, sizes and positions in SwiftUI. Right here’s the tutorial by Shen.

Keep tuned as we proceed to replace this assortment.



Leave a Comment