NSString,NSArray 方法

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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值