Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Nil Coalescing
(Uncensored)
subscribe
Pattern matching for custom types in Swift
https://nilcoalescing.com/blog/PatternMatchingForCustomTypesInSwift
links
backlinks
Define custom logic for matching different types of data in switch cases by overloading the Swift pattern matching operator (~=).