#CSNotificationView
Easy to use, iOS-7-style, semi-translucent notification view with blur that drops into UIView and UITableView.
Also supports displaying progress.
Requires iOS 7.
##Example code
###Quick presentation
[CSNotificationView showInViewController:selfstyle:CSNotificationViewStyleError
message:@"A critical error happened."];
[CSNotificationView showInViewController:selfstyle:CSNotificationViewStyleSuccess
message:@"Great, it works."];
###UIActivityIndicatorView built-in
CSNotificationView* note = (...);
note.showingActivity = YES;
[note setVisible:YESanimated:YEScompletion:nil];
(...)
[note dismissWithStyle:CSNotificationViewStyleSuccess message:@"Success!"duration:kCSNotificationViewDefaultShowDurationanimated:YES];###Tap handling
Handle tap events on the notification using a block callback
__block typeof(self) weakSelf = self;
self.loadingNotificationView.tapHandler = ^{
[weakSelf cancelOperationXYZ];
[weakSelf.loadingNotificationView dismissWithStyle:CSNotificationViewStyleError
message:@"Cancelled"duration:kCSNotificationViewDefaultShowDurationanimated:YES];
};###Customization
####Custom image / icon
note.image = [UIImage imageNamed:@"mustache"];####Flexible with text & no images
[CSNotificationView showInViewController:selftintColor:[UIColor colorWithRed:0.000green:0.6blue:1.000alpha:1]
image:nilmessage:@"No icon and a message that needs two rows and extra \ presentation time to be displayed properly."duration:5.8f];
##License
See LICENSE.md


