**.m
- (void)viewDidLoad {
[self onTimer]; //타이머를 설정한다.
timer = [NSTimer scheduledTimerWithTimeInterval:(1.0) target:self selector:@selector(onTimer) userInfo:nil repeats:YES];
[clockDisplay setFont:[UIFont fontWithName:@"DBLCDTempBlack size:64.0]]
'Programming' 카테고리의 다른 글
새로 xib파일을 생성했을 때 아웃렛 지정이 안될때. (0) | 2015.01.26 |
---|---|
그래픽 컨텍스트로 계기판 이미지를 화면에 불러오기 (0) | 2015.01.23 |
이미지 버튼 토글시 이미지 변경 방법 (0) | 2015.01.23 |
alloc, init (0) | 2015.01.23 |
****.m에서 뷰로 출력하는 방법 (0) | 2015.01.21 |