Objective-C : Lost info on possible failure

Classification

OWASP Mobile Top 10 2016 M7-Poor Code Quality PCI DSS 4.0 6.2.4

Overview

The method that takes an argument of NSError** type must return a value to signal a possible error.

References

  1. Should have a non-void return value to indicate whether or not an error occurred
  2. NSError - developer.apple.com
  3. Mobile Top 10 2016-M7-Poor Code Quality