Understanding Swift Generics: Type Conformance

The ability to create generic models in Swift provides a powerful, yet flexible model for code reuse. Generics may not come up as the main discussion in a technical interview, but if used correctly, will certainly showcase your ability to create a flexible design. Swift generics can be used to extend straightforward or complex code and is embedded in many aspects of the language. To understand how this works…

--

--

--

Modern code, Illustrations & Computer science

Recommended from Medium

Build a camera filter application on iOS using Swift

How to Create Custom Cells to Enhance a TableView in iOS

iOS localization

Left Rotation HackerRank Swift Solution

Read QR Codes and Scan Documents with Ease — QR code Reader Scanner App

Struct vs Class vs Proto in Swift

In Sequence is a Fun Single and Multiplayer Classic Board Game

iOS Development — Day 6

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
Wayne Bishop

Wayne Bishop

I write about Swift Development & Computer Science. Get more tips on technical interview preparation at — www.waynewbishop.com

More from Medium

Map, CompactMap, and FlatMap in Swift

Swift Numbers

Working with Network Request in Swift

Swift | Switch Statements