Image source- @travelwithlace

Write reusable code with

Generics in Swift

Create efficient and reusable abstractions

Generics are a key feature in Swift, which combined with protocols gives performance, flexibility, and concise, comprehensible compile errors if we make a mistake while using them in code.

Author of Reactive programming with Swift, Engineering Manager — Exploring possibilities with new Tech.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Designing a workflow with functions that are capable of failing

Create your custom view router with SwiftUI (2/X)

Build Your Own “Driving” Mode in iOS

Swift Tutorial: How to Make a Floating Button Programmatically

React Native or Swift: Which one to choose for iOS app development?

# CH1 指令 #1 發出指令

iOS-DispatchQueue and its WorkItem

Caching with NSCache in iOS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Navdeep Singh

Navdeep Singh

Author of Reactive programming with Swift, Engineering Manager — Exploring possibilities with new Tech.

More from Medium

UserDefaults Unit testing in iOS

Variable Definition, Arrays, Dictionaries and Set Structures in Swift

Access specifiers in Swift

Swift ScrollView 自適應高度設定