adspace


What are the collection types available in swift?

Answer Posted / Neetu Singh

"In Swift, there are two main collection types: arrays and sets. Arrays store elements in a specific order, while sets store unique elements without any particular order. Additionally, dictionaries (also known as associative arrays or hashes) are also available for key-value pair storage."n

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some biggest changes in usernotifications.

926


Explain the common execution states for a swift ios app (ios application lifecycle).

900


How can you define a base class in swift?

931