TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | May 2016 |
UIAlertView + NSError category library.
You can try it:
pod try UIAlertView-NSErrorAddition
Basic use case.
NSDictionary *userInfo = @{
NSLocalizedDescriptionKey : @"Network Error",
NSLocalizedFailureReasonErrorKey : @"Doesn't connect to network",
NSLocalizedRecoverySuggestionErrorKey : @"Reload page after check the network.",
NSLocalizedRecoveryOptionsErrorKey : @[@"OK"]
};
NSError *error = [NSError errorWithDomain:[[NSBundle bundleForClass:[self class]] bundleIdentifier] code:0 userInfo:userInfo];
UIAlertView *alertView = [[UIAlertView alloc] initWithError:error];
[alertView show];
Each key mapping to UIAlertView parts.
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT