Swift Non-Nil Values In An Array Of Optionals
Good tip from Use Your Loaf on how to work with an array of Optional values. Rather than use flatMap to iterate over the non-nil values, we can use pattern matching.
Posted on January 14, 2018 |
← Previous Post
Next Post →