ErrorGen 0.0.1

ErrorGen 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by azu, akuraru.



ErrorGen 0.0.1

A small library to create NSError with description.

Installation

pod "ErrorGen"

Usage

Pretty simple!

NSError *error = [ErrorGen errorWithDescription:@"desc"];
error.localizedDescription; // => @"desc"
error.domain; // => App's bundle identifier

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT