使用Player FM应用程序离线!
Swift Optional String Or Empty Extension
Manage episode 297892586 series 1436686
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
88集单集
Manage episode 297892586 series 1436686
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
88集单集
所有剧集
×欢迎使用Player FM
Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。