Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

get length of array swift


// Initialize the Array
var a = [1,2,3]

// Get the size of the array

let size = a.count
print(size)

		
				
Source by iswift.org #
 
PREVIOUS NEXT
Tagged: #length #array #swift
ADD COMMENT
Topic
Name
7+2 =