1. Jens Alfke
  2. MYCrypto
  3. Issues
Issue #2 new

API needs to return NSErrors

Jens Alfke
repo owner created an issue

Most of the MYCrypto methods don't return any detailed error information, just NO / nil / NULL to indicate failure. This needs to be improved.

In most cases an 'out' {{{NSError**}}} parameter should be added. This obviously won't work with properties, though. I'll have to decide which properties are unlikely enough to fail that they can be left in that form, and for the rest, convert them to (or just add extra) more complex accessor methods.

(This will, of course, break all existing client code...)

Comments (0)

  1. Log in to comment