GFSnackBarView
Example
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.
Installation
GFSnackBarView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'GFSnackBarView'
How to use
#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");
}];
Author
guidosette, [email protected]
License
GFSnackBarView is available under the MIT license. See the LICENSE file for more info.