stringWithFormat

C의 printf와 상당히 유사한 메소드. 

int count;
NSString *inputText = [textField stringValue];
count = [inputText length];
inputText = [NSString stringWithFormat:@"%@ has %d letters",inputText,count];








Posted by 후니 유

댓글을 달아주세요:: 스팸은 정중히 사절합니다.


BLOG main image
Cr4cK th3 W0Rld by 후니 유

1,214,106


Today : 143
Yesterday : 177
hit counters

카테고리

전체보기 (802)
Etc (246)
Hacked Brain (280)
My Project (32)
데일리 (22)
운영체제 (31)
프로그래밍 (92)
Securities (27)