Objective-C Language Creando Arrays


Ejemplo

Creando arreglos inmutables:

NSArray *myColors = [NSArray arrayWithObjects: @"Red", @"Green", @"Blue", @"Yellow", nil];

// Using the array literal syntax:
NSArray *myColors = @[@"Red", @"Green", @"Blue", @"Yellow"];

Para matrices mutables, vea NSMutableArray .