CodeX
Published in

CodeX

Swift Typealias: How to Re-Label Existing Types

Upgrade your code quality by using typealiases

Photo by Maxwell Nelson on Unsplash

Typealias is, as the name suggests, an alias for an existing data type. Type aliasing is a handy way to make code more readable and understandable.

Feel free to watch a video about this topic:

--

--

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
Artturi Jalli

Artturi Jalli

3.2K Followers

I built a blog from 0 to 500k+ monthly visits in 16 months without SEO.