Swift Optional String Or Empty Extension
Swift Optional String Or Empty Extension

Swift Optional String Or Empty Extension

Sonica Rokaya

7 min0 écoutes0 favoris
Business & Finance
Lire

Description

<p>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.</p><p>This episode's video screencast: <a href="https://youtu.be/qzuFvUVuH9U">https://youtu.be/qzuFvUVuH9U</a></p><p>This episode's audio podcast: <a href="https://insideiosdev.com/episodes/swift-optional-string-or-empty-extension">https://insideiosdev.com/episodes/swift-optional-string-or-empty-extension</a></p><p>Inside iOS Dev YouTube Channel: <a href="https://www.youtube.com/channel/UC6zcA3dAMUWN8E2_dlg_WyQ">https://www.youtube.com/channel/UC6zcA3dAMUWN8E2_dlg_WyQ</a></p>

Créateurs

susan88

susan88

Creator