_viewPicker.hidden =YES;
_viewPicker.layer.borderWidth = 2;
_viewPicker.layer.borderColor = [UIColor lightGrayColor].CGColor;
_datePicker.minimumDate = [NSDate date];
showBookNames = [[NSMutableArray alloc] init];
arrDates = [[NSMutableArray alloc] init];
dictMonths = [[NSMutableDictionary alloc] init];
arrBooksList = [[NSMutableArray alloc] init];
arrBookTitles = [[NSMutableArray alloc] init];
dateStart = _datePicker.date;
- (IBAction)onCalendarTap:(id)sender {
_viewPicker.hidden = NO;
[UIView animateWithDuration:0.50 animations:^{
_viewPicker.frame = CGRectMake(0, self.view.frame.size.height - 200, self.view.frame.size.width, 250);
dateStart = _datePicker.date;
[_viewPicker setHidden:NO];
}];
}