NSString,NSArray 方法

来源:互联网 发布:福州市人口数据 编辑:程序博客网 时间:2024/06/05 02:39
1、init
2、initWithBytes:length:encoding:
3、initWithCharacters:length:
4、initWithCString:encoding:
5、initWithUTF8String:
6、initWithFormat:
7、stringWithFormat:
8、stringWithCharacters:length:
9、stringWithString:
10、stringWithCString:encoding:
11、stringWithUTF8String:
12、length
13、lengthOfBytesUsingEncoding:
14、characterAtIndex:
15、getCharacters:range:
16、cStringUsingEncoding:
17、UTF8String
18、stringByAppendingFormat:
19、stringByAppendingString:
20、stringByPaddingToLength:withString:startingAtIndex:
21、componentsSeparatedByString:
22、componentsSeparatedByCharactersInSet:
23、substringFromIndex:
24、substringWithRange:
25、substringToIndex:
26、rangeOfString:
27、rangeOfString:options:
28、rangeOfString:options:range:
29、stringByReplacingOccurrencesOfString:withString:
30、stringByReplacingOccurrencesOfString:withString:options:range:
31、stringByReplacingCharactersInRange:withString:
32、caseInsensitiveCompare:
33、compare:
34、compare:options:
35、compare:options:range:
36、hasPrefix:
37、hasSuffix:
38、isEqualToString:
39、capitalizedString
40、lowercaseString
41、uppercaseString
42、doubleValue
43、floatValue
44、intValue
45、integerValue
46、longLongValue
47、boolValue

48、stringWithCapacity:
49、initWithCapacity:
50、appendFormat:
51、appendString:
52、deleteCharactersInRange:
53、insertString:atIndex:
54、replaceCharactersInRange:withString:
55、replaceOccurrencesOfString:withString:options:range:
56、setString:


1、array
2、arrayWithArray:
3、arrayWithObject:
4、arrayWithObjects:
5、arrayWithObjects:count:
6、init
7、initWithArray:
8、initWithObjects:
9、initWithObjects:count:
10、containsObject:
11、count
12、getObjects:range:
13、firstObject
14、lastObject
15、objectAtIndex:
16、objectsAtIndexes:
17、objectEnumerator
18、reverseObjectEnumerator
19、indexOfObject:
20、indexOfObject:inRange:
21、makeObjectsPerformSelector:
22、makeObjectsPerformSelector:withObject:
23、firstObjectCommonWithArray:
24、isEqualToArray:
25、arrayByAddingObject:
26、arrayByAddingObjectsFromArray:
27、sortedArrayUsingFunction:context:
28、sortedArrayUsingDescriptors:
29、sortedArrayUsingSelector:
30、componentsJoinedByString:

31、arrayWithCapacity:
32、initWithCapacity:
33、addObject:
34、addObjectsFromArray:
35、insertObject:atIndex:
36、removeAllObjects
37、removeLastObject
38、removeObject:
39、removeObject:inRange:
40、removeObjectAtIndex:
41、removeObjectsInArray:
42、removeObjectsInRange:
43、replaceObjectAtIndex:withObject:
44、setArray:
45、exchangeObjectAtIndex:withObjectAtIndex:
46、sortUsingDescriptors:
47、sortUsingFunction:context:
48、sortUsingSelector:
0 0