'Apple의 세계에서 삽질 > Cocoa Touch로 삽질' 카테고리의 다른 글
LLVM 1.5에게 당하다... (0) | 2010.09.24 |
---|
NSString *hangle = @"나는 지금 무엇을 하고 있는 것일까? 子供たちが作ったDoodle。グランプリをみんなで選ぼう。古代書面汉语称为文言文,现代书面汉语一般指現代標準漢語。現代漢語方言眾多,某些方言的口語之間差異較大,而書面語相對統一。"; [hangle enumerateSubstringsInRange:NSMakeRange(0, [hangle length]) options:NSStringEnumerationByWords usingBlock:^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) { NSLog(@"%@ (%d, %d)", substring, substringRange.location, substringRange.length); }];
2010-10-22 20:05:42.005 QBookExtendedLayoutTool[1038:a0f] 나는 (0, 2)
2010-10-22 20:05:42.006 QBookExtendedLayoutTool[1038:a0f] 지금 (3, 2)
2010-10-22 20:05:42.007 QBookExtendedLayoutTool[1038:a0f] 무엇을 (6, 3)
2010-10-22 20:05:42.007 QBookExtendedLayoutTool[1038:a0f] 하고 (10, 2)
2010-10-22 20:05:42.008 QBookExtendedLayoutTool[1038:a0f] 있는 (13, 2)
2010-10-22 20:05:42.011 QBookExtendedLayoutTool[1038:a0f] 것일까 (16, 3)
2010-10-22 20:05:42.012 QBookExtendedLayoutTool[1038:a0f] 子供 (21, 2)
2010-10-22 20:05:42.013 QBookExtendedLayoutTool[1038:a0f] たち (23, 2)
2010-10-22 20:05:42.014 QBookExtendedLayoutTool[1038:a0f] が (25, 1)
2010-10-22 20:05:42.014 QBookExtendedLayoutTool[1038:a0f] 作っ (26, 2)
2010-10-22 20:05:42.015 QBookExtendedLayoutTool[1038:a0f] た (28, 1)
2010-10-22 20:05:42.016 QBookExtendedLayoutTool[1038:a0f] Doodle (29, 6)
2010-10-22 20:05:42.016 QBookExtendedLayoutTool[1038:a0f] グランプリ (36, 5)
2010-10-22 20:05:42.017 QBookExtendedLayoutTool[1038:a0f] を (41, 1)
2010-10-22 20:05:42.018 QBookExtendedLayoutTool[1038:a0f] みんな (42, 3)
2010-10-22 20:05:42.019 QBookExtendedLayoutTool[1038:a0f] で (45, 1)
2010-10-22 20:05:42.020 QBookExtendedLayoutTool[1038:a0f] 選ぼ (46, 2)
2010-10-22 20:05:42.020 QBookExtendedLayoutTool[1038:a0f] う (48, 1)
2010-10-22 20:05:42.022 QBookExtendedLayoutTool[1038:a0f] 古代 (50, 2)
2010-10-22 20:05:42.022 QBookExtendedLayoutTool[1038:a0f] 書面 (52, 2)
2010-10-22 20:05:42.023 QBookExtendedLayoutTool[1038:a0f] 汉 (54, 1)
2010-10-22 20:05:42.024 QBookExtendedLayoutTool[1038:a0f] 语称 (55, 2)
2010-10-22 20:05:42.024 QBookExtendedLayoutTool[1038:a0f] 为 (57, 1)
2010-10-22 20:05:42.025 QBookExtendedLayoutTool[1038:a0f] 文言 (58, 2)
2010-10-22 20:05:42.026 QBookExtendedLayoutTool[1038:a0f] 文 (60, 1)
2010-10-22 20:05:42.026 QBookExtendedLayoutTool[1038:a0f] 现代 (62, 2)
2010-10-22 20:05:42.028 QBookExtendedLayoutTool[1038:a0f] 书面 (64, 2)
2010-10-22 20:05:42.051 QBookExtendedLayoutTool[1038:a0f] 汉语 (66, 2)
2010-10-22 20:05:42.053 QBookExtendedLayoutTool[1038:a0f] 一般 (68, 2)
2010-10-22 20:05:42.055 QBookExtendedLayoutTool[1038:a0f] 指 (70, 1)
2010-10-22 20:05:42.056 QBookExtendedLayoutTool[1038:a0f] 現代 (71, 2)
2010-10-22 20:05:42.056 QBookExtendedLayoutTool[1038:a0f] 標準 (73, 2)
2010-10-22 20:05:42.057 QBookExtendedLayoutTool[1038:a0f] 漢語 (75, 2)
2010-10-22 20:05:42.058 QBookExtendedLayoutTool[1038:a0f] 現代 (78, 2)
2010-10-22 20:05:42.058 QBookExtendedLayoutTool[1038:a0f] 漢語 (80, 2)
2010-10-22 20:05:42.062 QBookExtendedLayoutTool[1038:a0f] 方言 (82, 2)
2010-10-22 20:05:42.063 QBookExtendedLayoutTool[1038:a0f] 眾多 (84, 2)
2010-10-22 20:05:42.064 QBookExtendedLayoutTool[1038:a0f] 某 (87, 1)
2010-10-22 20:05:42.065 QBookExtendedLayoutTool[1038:a0f] 些 (88, 1)
2010-10-22 20:05:42.065 QBookExtendedLayoutTool[1038:a0f] 方言 (89, 2)
2010-10-22 20:05:42.066 QBookExtendedLayoutTool[1038:a0f] 的 (91, 1)
2010-10-22 20:05:42.067 QBookExtendedLayoutTool[1038:a0f] 口語 (92, 2)
2010-10-22 20:05:42.067 QBookExtendedLayoutTool[1038:a0f] 之 (94, 1)
2010-10-22 20:05:42.068 QBookExtendedLayoutTool[1038:a0f] 間 (95, 1)
2010-10-22 20:05:42.068 QBookExtendedLayoutTool[1038:a0f] 差異 (96, 2)
2010-10-22 20:05:42.069 QBookExtendedLayoutTool[1038:a0f] 較 (98, 1)
2010-10-22 20:05:42.070 QBookExtendedLayoutTool[1038:a0f] 大 (99, 1)
2010-10-22 20:05:42.071 QBookExtendedLayoutTool[1038:a0f] 而 (101, 1)
2010-10-22 20:05:42.072 QBookExtendedLayoutTool[1038:a0f] 書面 (102, 2)
2010-10-22 20:05:42.073 QBookExtendedLayoutTool[1038:a0f] 語 (104, 1)
2010-10-22 20:05:42.073 QBookExtendedLayoutTool[1038:a0f] 相 (105, 1)
2010-10-22 20:05:42.074 QBookExtendedLayoutTool[1038:a0f] 對 (106, 1)
2010-10-22 20:05:42.074 QBookExtendedLayoutTool[1038:a0f] 統一 (107, 2)