Using @discardableResult in Swift
Learn how to safely ignore the result of a function or method in Swift using the @discardableResult attribute.
We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Learn how to safely ignore the result of a function or method in Swift using the @discardableResult attribute.