Simple and customizable Snackbar. You can use it to show message, message with error, with loading or to confirm.
To run the example project, clone the repo, and run pod install
from the Example directory first.
GFSnackBarView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'GFSnackBarView'
#import "GFSnackBarView.h"
[GFSnackBarView showWithMessage:@"Test error" withTitle:@"Error" isError:true permanent:false];
[GFSnackBarView showWithMessage:@"Test" withTitle:@"Error" isError:true buttonDoneLabel:@"Ok" buttonDoneCallback:^{
NSLog(@"Done");
} buttonCancelLabel:@"Cancel" buttonCancelCallback:^{
NSLog(@"Cancel");
}];
guidosette, guido.fanfani7@gmail.com
GFSnackBarView is available under the MIT license. See the LICENSE file for more info.