摘要:
+ (KKTextHUB *)sharedTextHUB{ static KKTextHUB *sharedHub = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ sharedHub = [[self alloc]initWithFrame:CGRectMake(0, 0, 0, 0)]; }); return sharedHub;} 阅读全文
posted @ 2013-08-20 16:38
cocoajin
阅读(176)
评论(0)
推荐(0)
摘要:
- (void)drawRect:(CGRect)rect { CGContextRef context = UIGraphicsGetCurrentContext(); UIGraphicsPushContext(context); CGRect boxRect = CGRectMake(0, 0, 90,90); float radius = 10.0f; CGContextBeginPath(context); CGContextMoveToPoint(context, CGRectGetMinX(boxRect) + radius, ... 阅读全文
posted @ 2013-08-20 16:35
cocoajin
阅读(2064)
评论(0)
推荐(0)
浙公网安备 33010602011771号