---
title: "Discussion on \"What are Closures in Swift?\" | Hashnode"
description: "Discussion on \"What are Closures in Swift?\". \"Groups of code that executes together, without creating a named function\" is the official definition of Closures.\nIn other words we can say that closure is a function that does not have a name. The memory management is also done by Swift.\nClosure Ex..."
url: "https://hashnode.com/posts/what-are-closures-in-swift/6592ca5088c35e8ee6b69382"
---

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

Discussion

# [What are Closures in Swift?](https://nitishpoonia.com/what-are-closures-in-swift?utm_source=hashnode&utm_medium=feed)

"Groups of code that executes together, without creating a named function" is the official definition of Closures. In other words we can say that closure is a function that does not have a name. The memory management is also done by Swift. Closure Ex...

Jan 1, 2024 · 1 min read · nitishpoonia.com  
Read the article

-   [#closure-in-swiftui](https://hashnode.com/tag/closure-in-swiftui)

## Written by

[Nitish Poonia](https://hashnode.com/@nitishpoonia)

@nitishpoonia

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

React Js Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
