Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Pattern Matching With Enums6:35 with Pasan Premaratne
Pattern matching in Swift lets you compare different values to execute code based on certain conditions. We took a look at basic pattern matching in previous courses but with enums we can take this a step further.