---
title: "Discussion on \"How to use Sets in Swift\" | Hashnode"
description: "Discussion on \"How to use Sets in Swift\". Set are basically a collection of items that aren’t ordered but are unique. Let's go over different operations/functions that Swift has when it comes to Sets.\nCreating a Set\nInitialize an empty set\nSets in swift are of a generic nature so they can ho..."
url: "https://hashnode.com/posts/how-to-use-sets-in-swift/5f6d899f005ded5336f6f930"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use Sets in Swift](https://swiftbyshanks.hashnode.dev/how-to-use-sets-in-swift?utm_source=hashnode&utm_medium=feed)

Set are basically a collection of items that aren’t ordered but are unique. Let's go over different operations/functions that Swift has when it comes to Sets. Creating a Set Initialize an empty set Sets in swift are of a generic nature so they can ho...

Sep 25, 2020 · 6 min read · swiftbyshanks.hashnode.dev  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#ios-app-development](https://hashnode.com/tag/ios-app-development)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#mobile-development](https://hashnode.com/tag/mobile-development)
-   [#ios](https://hashnode.com/tag/ios)

## Written by

[Shashank Thakur](https://hashnode.com/@ishankCode)

@ishankCode

  
[View profile](https://hashnode.com/@ishankCode)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
