declare array with default value swift code example
Example: create array with default value swift
var users = [User](count: howManyUsers, repeatedValue:User(thinkTime: 10.0))
var users = [User](count: howManyUsers, repeatedValue:User(thinkTime: 10.0))