Swift
92.7K views | +0 today

Swift Async Sequence extensions (part 1)

From trycombine.com

Swift development related blog-posts. Combine, modern concurrency model, Instruments, and more.
No comment yet.

How to test UI layout for different languages with Pseudolanguages

From sarunw.com

Each language has its own characteristic. Some are more verbose than others. Some have special characters that take up vertical spaces. Some even read and lay out from right to left. Let's see how to make sure your layout is ready for this.
No comment yet.

SortComparator and SortDescriptor

From useyourloaf.com

SortComparator and SortDescriptor are new in iOS 15.
No comment yet.

How to customize automatic synthesizing Codable for enums with associated values

From sarunw.com

Learn what we can customize when relying on automatic synthesizing Codable for enums with associated values.
No comment yet.

Loops

From www.swiftbysundell.com

A look at many different built-in ways to iterate over arrays, dictionaries, and other Swift collections.
No comment yet.

Swift Optional Pattern Matching

From useyourloaf.com

A quick tip on using the Swift Optional pattern.
No comment yet.

Creating Combine-compatible versions of async/await-based APIs

From www.swiftbysundell.com

Creating convenience APIs that make it possible to convert async/await-based functions into Combine publishers.
No comment yet.

SwiftUI Label: A standard way to label user interface items

From sarunw.com

A label might seem trivial, but it plays an important role in SwiftUI. Let's learn about this simple view.
No comment yet.

Swift Playgrounds 4: Building a Text-to-speech App on iPad

From www.appcoda.com

Swift Playgrounds 4 introduces a massive update allowing developers to create iOS apps entirely on iPad, without needing to use a Mac. This tutorial shows you how to build a text-to-speech app with an iPad.
No comment yet.

Two ways of capturing self strongly within a closure

From www.swiftbysundell.com

How to use either explicit self references or a capture list to capture self strongly within an escaping Swift closure.
No comment yet.

Building an asynchronous SwiftUI button

From www.swiftbysundell.com

How a custom SwiftUI button that’s capable of running asynchronous actions can be created, and how to make such a control versatile and easy to reuse across a project.
No comment yet.

Using @SceneStorage With @FetchRequest

From useyourloaf.com

Are you having trouble using @SceneStorage to configure a Core Data @FetchRequest?
No comment yet.

Time-sensitive operations with Timers & RxSwift/Combine | iOS Dev Live Mentoring —

From www.essentialdeveloper.com

To become a complete senior iOS developer, you need to know clean ways of implementing time-sensitive operations.
No comment yet.

How to change UIImage color in Swift

From sarunw.com

Learn different ways to color an UIImage in Swift.
No comment yet.

Discover Concurrency on

From www.swiftbysundell.com

Explore Swift’s built-in concurrency system, and how to use tools like async/await and actors to write concurrent code in robust and efficient ways.
No comment yet.

How to make custom XCTest assertions show an error at the call site

From sarunw.com

Learn how to write custom XCTest assertions that match the behavior of the built-in ones.
No comment yet.

Delaying an asynchronous Swift Task

From www.swiftbysundell.com

How we can use the built-in Task type to delay certain operations when using Swift’s new concurrency system.
No comment yet.

UIButton Configuration Tutorial: Getting Started

From www.raywenderlich.com

Learn how to give your buttons some style and color using the UIButton Configuration API.
No comment yet.

SceneStorage For Custom Types

From useyourloaf.com

How do you use the @AppStorage and @SceneStorage property wrappers with your own custom types?
No comment yet.

A deep dive into Swift’s result builders

From www.swiftbysundell.com

A closer look at Swift’s result builders feature, and how it can give us some really valuable insights into how SwiftUI’s DSL operates under the hood.
No comment yet.

Result builders in Swift - The.Swift.Dev.

From theswiftdev.com

If you want to make a result builder in Swift, this article will help you to deal with the most common cases when creating a DSL.
No comment yet.

Editing Multiple Constraints

From useyourloaf.com

A quick tip that can save you some pain when editing multiple constraints in Interface Builder.
No comment yet.

Using TimelineView and Canvas in SwiftUI

From www.raywenderlich.com

Learn how to use TimelineView and Canvas in SwiftUI and combine them to produce animated graphics.
No comment yet.

SwiftUI Environment When Presenting Views

From useyourloaf.com

It's easy to miss but the way SwiftUI presented views inherit the environment has changed from iOS 13, iOS 14 and iOS 15.
No comment yet.

iPadOS 15 Tutorial: What’s New for Developers

From www.raywenderlich.com

See what’s new in iPadOS 15 and take your app to the next level with groundbreaking changes!
No comment yet.