336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
모든 프로그래밍이 그러하듯 텍스트 출력부터.
Objective-C의 헤더 파일 확장명은 .h이고, 소스 파일 확장명은 .m이다.
test.m
#import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog(@"tapitolife\n"); NSLog(@"http://tapito.tistory.com/\n"); NSLog(@"Hello, World!"); [pool drain]; return 0; }
'Programming Language > Objective-C' 카테고리의 다른 글
Objective-C에서 SQLite 사용 예제 (0) | 2018.07.27 |
---|---|
이벤트 처리시 멤버에 들어간 배열 접근에서 EXC_BAD_ACCESS 오류가 뜰 경우 (0) | 2014.05.12 |
NSDate로 현재 날짜 얻기 (0) | 2012.04.28 |
NSString과 C 문자열간 변환하기 (0) | 2012.02.26 |