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 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.