---
title: "Discussion on \"Self-learning Swift (1):  Struct vs Class\" | Hashnode"
description: "Discussion on \"Self-learning Swift (1):  Struct vs Class\". Exploring key differences between struct and class in Swift, including value vs. reference types and inheritance capabilities"
url: "https://hashnode.com/posts/self-learning-swift-1-struct-vs-class/6654187b00d476491f3fff80"
---

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

Discussion

# [Self-learning Swift (1): Struct vs Class](https://sunbathsoft.com/self-learning-swift-1-struct-vs-class?utm_source=hashnode&utm_medium=feed)

Exploring key differences between struct and class in Swift, including value vs. reference types and inheritance capabilities

May 27, 2024 · 2 min read · sunbathsoft.com  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#self-learning](https://hashnode.com/tag/self-learning)

## Written by

[Leung Alex](https://hashnode.com/@alexltytca)

@alexltytca

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
