A small library to create NSError
with description.
pod "ErrorGen"
Pretty simple!
NSError *error = [ErrorGen errorWithDescription:@"desc"];
error.localizedDescription; // => @"desc"
error.domain; // => App's bundle identifier
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT