ifish/Ifish/controllers/IfishTabControllers/探索/lookafterWorkbech/shopNoCumtomerViewCell.m

38 lines
1.0 KiB
Objective-C

//
// shopNoCumtomerViewCell.m
// Ifish
//
// Created by imac on 16/8/25.
// Copyright © 2016年 lianxiang. All rights reserved.
//
#import "shopNoCumtomerViewCell.h"
@implementation shopNoCumtomerViewCell
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code
}
-(void)cellSetnoGuKeBackViewCorner{
CGRect backRect= CGRectMake(self.noGuKeBackView.bounds.origin.x,self.noGuKeBackView.bounds.origin.x,kScreenSize.width-8*2,self.noGuKeBackView.bounds.size.height);
UIBezierPath *maskPath=[UIBezierPath bezierPathWithRoundedRect:backRect byRoundingCorners:UIRectCornerBottomLeft | UIRectCornerBottomRight cornerRadii:CGSizeMake(5, 5)];
CAShapeLayer *maskLayer =[[CAShapeLayer alloc] init];
maskLayer.frame = backRect;
maskLayer.path = maskPath.CGPath;
self.noGuKeBackView.layer.mask = maskLayer;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end