Skip to content

NSArray

LinHuijie edited this page Jan 8, 2019 · 1 revision

Protect method list

method name return value when error return
objectAtIndex: ObjectType nil
initWithObjects:count: instancetype nil
count NSUInteger 0
arrayByAddingObject: NSArray nil
indexOfObject:inRange: NSUInteger NSNotFound
indexOfObjectIdenticalTo:inRange: NSUInteger NSNotFound
subarrayWithRange: NSArray nil
objectsAtIndexes: NSArray nil
enumerateObjectsUsingBlock: void
enumerateObjectsAtIndexes:options:usingBlock: void
enumerateObjectsWithOptions:usingBlock: void
Clone this wiki locally