标签:
- (void)drawRect:(NSRect)dirtyRect { [super drawRect:dirtyRect]; [[NSColor clearColor] setFill]; NSRectFill(self.bounds); self.wantsLayer = YES; self.layer.cornerRadius = 8; self.layer.masksToBounds = YES; }
标签:
原文地址:http://www.cnblogs.com/741162830qq/p/5157046.html