The Startup
Published in

The Startup

How to correctly model data in Swift

Swift: Enumerations

Use cases and Implementation

Photo by @emmamatthews on Unsplash

In this article, we’re going to learn about enumerations in Swift or as they’re more commonly known, enums.

An enumeration defines a common type for a group of related values and enables you to work with those…




Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Introduce SwiftLint in a Legacy iOS Codebase

Payworks - PayButton swift version

Google Will Stop Trying To Make Its IOS App Look Like Android

CoreData Fetch Request Template

Learned this about Swift today

List of Vehicles shown with basic information

LastPass clone — part 13:

What’s PreviewProvider? How do we pass CustomView’s Binding input from PreviewProvider in SwiftUI?

How To Create a Loading Button in Swift

Phone, camera lens and laptop on table

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

Every iOS developer should know these Xcode tricks

Prevent Homebrew services from starting automatically

How to change button text in Swift Xcode 6?

Navigation App Architecture on Apple eyes