Modern URL construction in Swift
How to combine Foundation’s latest URL APIs with Swift features like macros, to be able to work with both static and dynamic URLs in simpler and more predictable ways.
Articles and podcasts about Swift development, by John Sundell.
Presented by the Genius Scan SDK
How to combine Foundation’s latest URL APIs with Swift features like macros, to be able to work with both static and dynamic URLs in simpler and more predictable ways.
Let’s explore some of the lesser-known Formatter subclasses that ship as part of Apple’s platforms, and how those formatters can be really useful in certain situations.
How to validate email addresses in Swift using a dedicated RawRepresentable type and Foundation’s NSDataDetector API.
Formatting numbers into human-readable strings can often be tricker than expected. Let’s explore why that is, and what kind of tools and techniques that can be good to keep in mind when formatting different kinds of numbers.
Let’s take a look at Foundation’s date handling APIs — how they can enable us to easily make the way we compute dates more correct, and how we can build our own lightweight abstractions on top of them to make dealing with dates in Swift a lot easier.
The UserDefaults API can at first glance appear to be somewhat limited. However, it turns out that the power of UserDefaults extends far beyond simply storing and loading basic value types. This week, let’s take a look at what some of that power comes from, and how we can appropriately make use of it in the apps that we build.
This week, let's take a look at various techniques for working with URLs in Swift, how to make our URL construction code more robust, and how different kinds of URLs might warrant different approaches.
Erica Sadun joins John to talk about Swift Evolution and its proposal process, civility in the community, the state of Apple's developer tools, protocol extensions, Swift Foundation vs Objective-C Foundation and much more.