UIColor *lineColor = [UIColor redColor];
const CGFloat *components = CGColorGetComponents(lineColor.CGColor);
NSString *msg = [NSString stringWithFormat:@"%f,%f,%f", components[0],components[1],components[2]];
'프로그램 경험 > iOS' 카테고리의 다른 글
iOS 학습 시작 (0) | 2014.08.13 |
---|---|
[iPhone] 아이폰 자동 잠금 해제하기 (0) | 2011.08.01 |
[iPhone] 이미지 가져와서 그리기 (0) | 2010.11.29 |
[iPhone] UIView 캡쳐 (0) | 2010.11.29 |
[iPhone] expected specifier-qualifier-list before 'virtual' (0) | 2010.11.19 |