Why you should use enums instead

Ain’t Got No Strings…

“Magic” strings aren’t so magic in Swift

Kenny Dubroff
Dev Genius
Published in
6 min readAug 31, 2020

--

Stop letting magic strings make you look foolish

Using strings as a way of controlling the flow of an app, whether it be some condition you’re checking, an identifier, or a number of other things just isn’t a great experience. Especially as your app grows in size.

--

--

I’m a Full Stack iOS Developer with a passion for writing clean, reusable code.