![Inside iOS Dev artwork](https://is3-ssl.mzstatic.com/image/thumb/Podcasts113/v4/5d/8e/3f/5d8e3f8a-9905-7520-dc0a-034e117a4355/mza_8790787844764930645.jpg/100x100bb.jpg)
Swift Optional String Or Empty Extension
Inside iOS Dev
English - July 20, 2021 03:42 - 7 minutes - 6.52 MB - ★★★★★ - 54 ratingsTechnology Education ios ios development swift objective-c software architecture ios programming Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: Youtube Channel Announcement
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