This will provide you custom pop up views with custom configuration.
###Installation Steps: It's very easy to add this custom view to your project.
-
Open the HMPopUp project folder.
-
Drag and drop "HMPopUpView.h" and "HMPopUpView.m" files to your project or you can do this through Xcode by adding files to your project. Either way files will copy to your project.
###Implementaion:
-
Import header file
HMPopUpView.h
-
Add delegate protocol
<HMPopUpViewDelegate>
-
In ViewController.m
HMPopUpView *hmPopUp = [[HMPopUpView alloc] initWithTitle:@"Hey PopUp..." okButtonTitle:@"Okay" cancelButtonTitle:@"Cancel" delegate:self];
[hmPopUp showInView:self.view];
######Note: By default the view is in black and white unless you configure view using method ``` configureHMPopUpViewWithBGColor: titleColor: buttonViewColor: buttonBGColor: buttonTextColor: ```