[SR-2646] UINavigationController -popToViewController:animated: missing @discardableResult #45251
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Environment
Xcode 8 (8A218a)
Additional Detail from JIRA
md5: e104ccfaa345b1f4e927e24814988005
duplicates:
Issue Description:
`navigationController?.popToViewController(self, animated: true)` is something that we use most often without caring about the result (I didn’t even know it returned anything until today). Would be nice for that method to be marked with @discardableResult so we don’t need to `let _` 😃
The text was updated successfully, but these errors were encountered: