标签:
+ array+ arrayWithArray: --+ arrayWithContentsOfFile: --从文件中初始化数组+ arrayWithContentsOfURL:+ arrayWithObject: --只能初始化一个元素+ arrayWithObjects: --初始化多个元素+ arrayWithObjects:count:– init– initWithArray:– initWithArray:copyItems:– initWithContentsOfFile:– initWithContentsOfURL:– initWithObjects:– initWithObjects:count:– containsObject: -- 是否包含字符串– count --获取元素中的个数– getObjects:range:– firstObject– lastObject– objectAtIndex: --访问数组中的某个元素– objectAtIndexedSubscript:– objectsAtIndexes:– objectEnumerator– reverseObjectEnumerator– getObjects: Deprecated in OS X v10.6– indexOfObject:– indexOfObject:inRange:– indexOfObjectIdenticalTo:– indexOfObjectIdenticalTo:inRange:– indexOfObjectPassingTest:– indexOfObjectWithOptions:passingTest:– indexOfObjectAtIndexes:options:passingTest:– indexesOfObjectsPassingTest:– indexesOfObjectsWithOptions:passingTest:– indexesOfObjectsAtIndexes:options:passingTest:– indexOfObject:inSortedRange:options:usingComparator:– makeObjectsPerformSelector:– makeObjectsPerformSelector:withObject:– enumerateObjectsUsingBlock:– enumerateObjectsWithOptions:usingBlock:– enumerateObjectsAtIndexes:options:usingBlock:– arrayByAddingObject: --追加数组的内容– arrayByAddingObjectsFromArray:– filteredArrayUsingPredicate:– subarrayWithRange:– sortedArrayHint– sortedArrayUsingFunction:context:– sortedArrayUsingFunction:context:hint:– sortedArrayUsingDescriptors:– sortedArrayUsingSelector:– sortedArrayUsingComparator:– sortedArrayWithOptions:usingComparator:– componentsJoinedByString: -- 数组-->字符串– description– descriptionWithLocale:– descriptionWithLocale:indent:– writeToFile:atomically:– writeToURL:atomically:– addObserver:forKeyPath:options:context:– removeObserver:forKeyPath:– removeObserver:forKeyPath:context:– removeObserver:fromObjectsAtIndexes:forKeyPath:context:– addObserver:toObjectsAtIndexes:forKeyPath:options:context:– removeObserver:fromObjectsAtIndexes:forKeyPath:– removeAllObjects– removeLastObject– removeObject:– removeObject:inRange:– removeObjectAtIndex:– removeObjectsAtIndexes:– removeObjectIdenticalTo:– removeObjectIdenticalTo:inRange:– removeObjectsInArray:– removeObjectsInRange:– removeObjectsFromIndices:numIndices: Deprecated
in OS X v10.6– replaceObjectAtIndex:withObject:– setObject:atIndexedSubscript:– replaceObjectsAtIndexes:withObjects:– replaceObjectsInRange:withObjectsFromArray:range:– replaceObjectsInRange:withObjectsFromArray:– setArray:Ojbect-C2 3、NSArray和NSMutableArray数组的使用
标签:
原文地址:http://www.cnblogs.com/A--G/p/4780809.html