iOS Swift Get Column from Two Dimensional Array Without Looping

时间:2016-02-12 20:42:05

标签: ios swift multidimensional-array

I have a two-dimensional array called "array2D".

elw_stack

Is there a similar syntax to print an entire column?

I've tried various syntaxes:

print(array2D[0]) //prints an entire row at one time.

Thanks.

0 个答案:

没有答案