Skip to content
Swift Optional String Or Empty Extension episode artwork

Jul 20, 2021 7 min

Swift Optional String Or Empty Extension

from Inside iOS Dev Hosted by Alex Bush

In this episode I walk you through how to create an extension on Optional String type to default nil strings to an empty string. This little shortcut can greatly reduce the amount of ifelsing and if let unwrapping on optional strings in your Swift codebase. This episode's video screencast: https://youtu.be/qzuFvUVuH9U This episode's audio podcast: https://insideiosdev.com/episodes/swift-optional-string-or-empty-extension Inside iOS Dev YouTube Channel: https://www.youtube.com/channel/UC6zcA3dAMUWN8E2_dlg_WyQ

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Swift Optional String Or Empty Extension

0:00 7:07

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Inside iOS Dev?

This episode is 7 minutes long.

When was this Inside iOS Dev episode published?

This episode was published on July 20, 2021.

Can I download this Inside iOS Dev episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.