@interface NSArray : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration>
@property (readonly) NSUInteger count; // 数组数量
- (id)objectAtIndex:(NSUInteger)index; // 数组某位置的obj
- (instancetype)init NS_DESIGNATED_INITIALIZER; // 初始化
- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt NS_DESIGNATED_INITIALIZER;// c 数组创建
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER; // 编码创建
</pre><pre name="code" class="objc"> NSArray *arr2 = @[@"1",@"2"];
NSInteger count = arr2.count;
NSString *str = [arr2 objectAtIndex:1];
// NSArray *arr3 = [[NSArray alloc]initWithCoder:<#(NSCoder *)#>];
@end