How to concatenate or merge arrays in Swift?

Posted by Editorial Staff | Updated on

Want to concatenate or merge arrays in Swift? You can concatenate the arrays with +, building a new array.

or append one array to the other with +=:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers