| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
- EUC-KR
- 기념일관리
- crashlog
- M8200
- protobuf-c
- Font
- net
- docker
- PDA
- 와이브로
- 한 번만 실행
- C/C++
- 데이터 전달
- .net
- C#
- 블루투스 헤드셋
- phpmailer
- GDI
- Antialiasing
- MFC
- 크래시로그
- VS2008
- self-signed ssl
- API
- ClickOnce
- plcrashreporter
- JavaScript
- 설치제거
- 자바스크립트
- php
- Today
- Total
목록2009/05/02 (2)
~☆~ 우하하!!~ 개발블로그
#import "MySampleView.h" @implementation MyExampleViewController - (void)loadView // 뷰 컨트롤러가 로드될 때 UIView 를 붙인다. { // 메인 화면의 크기를 구한다. CGRect appRect = [[UIScreen mainScreen] applicationFrame]; // UIView 의 크기를 설정하면서 생성한다. MySampleView* sampleView = [[MySampleView alloc] initWithFrame:appRect]; // 배경화면색을 파란색으로 지정한다. sampleView.backgroundColor = [UIColor blueColor]; // 뷰 컨트롤러의 메인 뷰를 설정한다. self.view..
NSString 클래스의 drawAtPoint 메소드를 사용하여 문자열을 출력할 수 있다. - (CGSize)drawAtPoint:(CGPoint)point withFont:(UIFont *)font; // Uses UILineBreakModeWordWrap point 는 문자열을 출력할 좌표값 font 는 문자열을 출력할 때 사용할 폰트 사용예) - (void)drawRect:(CGRect)rect { NSString* strText = @"Test String"; [strText drawAtPoint:CGPointMake(10.0f, 10.0f) withFont:[UIFont systemFontOfSize:20]]; } 결과) 사각영역을 지정하여 정렬된 상태로 문자열 출력 - (CGSize)drawI..