-(void)addSingleSidesShadowToView:(UIView *)theView withColor:(UIColor*)theColor{theView.layer.shadowColor = theColor.CGColor;theView.layer.shadowOffset = CGSizeMake(0, theView.frame.size.height );theView.layer.shadowOpacity = 0.1;theView.layer.shadowRadius = 1;CGFloat shadowPathWidth = theView.layer.shadowRadius;CGRect shadowRect = CGRectMake(10, 0-shadowPathWidth/2, theView.bounds.size.width-20, shadowPathWidth);UIBezierPath *path = [UIBezierPath bezierPathWithRect:shadowRect];theView.layer.shadowPath = path.CGPath;
}