@discardableResult Attribute in Swift
Get rid of that annoying warning
Difficulty: Beginner | Easy | Normal | Challenging
It’s one of those things. Swift gives you a warning and you can change a piece of code to suppress the warning.
You change it, and life goes on.