Swift language changes for arrays