SwiftUI Weekly - Issue #56
The curated collection of links about SwiftUI. Delivered every Monday.
What’s new in Swift 5.4?
Multiple variadic parameters, improved implicit member syntax, result builders, and more!
Using SwiftUI’s frame modifier to resize and align views
How the frame modifier can be used to create resizable views that fill the container they’re rendered in.
Four ways to customize TextFields
SwiftUI is a dream for prototyping and building views: in this article, let’s see how we can customize a TextField.
How to apply custom button styles
To style a button with some predefined style inside your app you would usually use the buttonStyle method and apply one to it (e.g DefaultButtonStyle). In terms of accessibility it is most often recommended to stick with these button styles, but (as most developers probably know) in some cases the design dictates otherwise and you need more customization.
Drop Shadow in SwiftUI
Read about how to drop shadow on any view in SwiftUI, and discover a couple of practical and useful tricks when applying shadows to buttons.
Alert Toast is an open-source library in Github to use with SwiftUI. It allows you to present popups that don't need any user action to dismiss or to validate. Some great usage examples: Message Sent, Poor Network Connection, Profile Updated, Logged In/Out, Favorited, Loading, etc.
Getting Started with Combine
In this video, we’re going to explore the Combine Framework. In this Combine Framework tutorial, we’ll be looking at Practical examples in SwiftUI & UIKit. We’ll discuss a range of topics within the Combine Framework such as Publishers, Subscriptions, Cancellables, Memory Management and many more topics within the Combine Framework, alongside real-life examples you may come across in your project.
Handling Keyboard & Pointer Interactions in SwiftUI
Learn how to handle the iOS keyboard, external hardware keyboards, and pointer interactions in a SwiftUI app.
Welcome and Sign In Page
We design two pages one is the welcome page, which contains an image with two-button one for getting started and for login. once users open the app they will see this page. When they click on the Sign-in button it shifts them to the sign-in page, our app allows you to sign in with Apple and Google or you can log in by using your email.
Composable Views Using @ViewBuilders in SwiftUI
In this video, Mohammad Azam will demonstrate how to use @ViewBuilders in SwiftUI to create composable views.
Why I don’t want Xcode on the iPad
I don’t want Xcode on the iPad. I used to think I did, or that it might be useful, but I’ve reconsidered. My reasoning stems from the different underlying constraints of iPadOS vs. macOS – some physical, some philosophical.