SwiftUI Weekly - Issue #43
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Profiling SwiftUI app using Instruments
Xcode comes with a bunch of tools you need to build, debug and release your apps. One of these tools is the Instruments app. The Instruments app is a great tool for profiling your iOS apps. It provides many profiling templates for debugging Core Data, catching memory leaks, disk read/writes, and much more. This week we will learn how to profile SwiftUI apps using the SwiftUI template.
SwiftUI patterns: @Bindings
Every time we create a new view, we’re defining a new API: regardless of whether those views will be used just by us or by several people around the world, it’s very important to keep all definitions consistent.
SwiftUI Custom View Modifiers
Create your own custom SwiftUI view modifier when you want to reuse a set of modifiers on multiple views.
Building Grid Layout Using LazyVGrid and LazyHGrid
In WWDC 2020, Apple introduced tons of new features for the SwiftUI framework. One of them is to address the need of implementing grid views. SwiftUI now provides developers two new UI components called LazyVGrid and LazyHGrid. One is for creating vertical grid and the other is for horizontal grid.
SwifUI Mac Menus
With the option to create apps using the SwiftUI App life cycle, we get a new way to set up menus in Mac apps. This post will explore some of the ways to do this as well as look at the default menu groups that Apple gives us.
Applying rounded corners to a UIKit or SwiftUI view
How to round the corners of a UIKit or SwiftUI view in various ways.
Video
SwiftUI Tutorial: Building the Photos iOS Icon
Building the Photos iOS Icon - IN FIVE MINUTES! In this episode, we're going to be recreating the Photos iOS icon in SwiftUI and discovering that Apple cheated along the way.
2021 SwiftUI Tutorial for Beginners
This 3.5 hour SwiftUI tutorial is designed for absolute beginners and it introduces you to iOS app development with Swift, Xcode and SwiftUI. By the end of this master class, you'll have a solid understanding how to build SwiftUI views, how to read and write basic Swift code and how to use Xcode for app development.
SwiftUI 2.0 Square Space Web UI Parallax Effect
In this Video i'm going to show how to achieve Square Space Web Page Parallax Animation Effect Using SwiftUI 2.0.