#表示返回值类型 :有参数
NSArray
Creating an Array(创建数组)
#instancetype
#id
Initializing an Array(初始化数组)
#instancetype
– init
– initWithArray:
– initWithArray:copyItems:
– initWithObjects:
– initWithObjects:count:
#id
– initWithContentsOfFile:
Querying an Array(查询数组)
#BOOL
#NSInteger
#void
#id
#NSArray*
Finding Objects in an Array(找出数组中的对象)
#NSUIteger
Comparing Arrays
#BOOL
Deriving New Arrays
#NSArray*
NSMutableArray
Creating and Initializing a Mutable Array(创建和初始化可变数组)
#intancetype
+ arrayWithCapacity:
– initWithCapacity:
– init
Adding Objects(添加对象)
#void
Removing Objects(删除对象)
#void
– removeObjectIdenticalTo:inRange:
Replacing Objects(替换对象)
#void
– replaceObjectAtIndex:withObject:
– replaceObjectsAtIndexes:withObjects:
NSDictionary
Creating a Dictionary(创建字典)
#id
+ dictionaryWithContentsOfFile:
#instancetype
+ dictionaryWithObject:forKey:
+ dictionaryWithObjects:forKeys:
+ dictionaryWithObjects:forKeys:count:
+ dictionaryWithObjectsAndKeys:
Initializing an NSDictionary Instance(初始化字典实例)
#id
#instancetype
– initWithDictionary:copyItems:
– initWithObjects:forKeys:count:
#NSINteger
#BOOL
Accessing Keys and Values(访问键和值)
#NSArray
#BOOL
NSMutableDictionary
Creating and Initializing a Mutable Dictionary(创建初始化可变字典)
#intancetype
#id
Adding Entries to a Mutable Dictionary(添加条目进可变字典)
#void
– setObject:forKeyedSubscript:
Removing Entries From a Mutable Dictionary(移除条目从字典)
#void