---
title: "Leung Alex (@alexltytca) | Hashnode"
description: "Leung Alex (@alexltytca) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@alexltytca"
---

@alexltytca

# Leung Alex

@alexltytca · Joined February 2024

### [Self-learning Swift (4): Extracting View](https://sunbathsoft.com/self-learning-swift-4-extracting-view?utm_source=hashnode&utm_medium=feed)

Learn how to extract and reuse views in Swift for better code management and easier project handling

1 min read · [sunbathsoft.com](https://sunbathsoft.com/self-learning-swift-4-extracting-view?utm_source=hashnode&utm_medium=feed)

[Jun 10, 2024](https://hashnode.com/posts/self-learning-swift-4-extracting-view/666752cbfa251012679a542c)

### [Self-learning Swift (3): @state](https://sunbathsoft.com/self-learning-swift-3-state?utm_source=hashnode&utm_medium=feed)

Learn about @state in Swift, its similarities to React's useState, and how it simplifies state management in Swift UI

1 min read · [sunbathsoft.com](https://sunbathsoft.com/self-learning-swift-3-state?utm_source=hashnode&utm_medium=feed)

[Jun 8, 2024](https://hashnode.com/posts/self-learning-swift-3-state/6663cf19a4b4cba02174b19a)

### [Self-learning Swift (2): Understanding @main component](https://sunbathsoft.com/self-learning-swift-2-understanding-main-component?utm_source=hashnode&utm_medium=feed)

Learn about the @main component in Swift, its similarities to other languages, and key concepts like Structs and WindowGroup

1 min read · [sunbathsoft.com](https://sunbathsoft.com/self-learning-swift-2-understanding-main-component?utm_source=hashnode&utm_medium=feed)

[May 28, 2024](https://hashnode.com/posts/self-learning-swift-2-understanding-main-component/66554887a7fb065090fb2707)

### [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

2 min read · [sunbathsoft.com](https://sunbathsoft.com/self-learning-swift-1-struct-vs-class?utm_source=hashnode&utm_medium=feed)

[May 27, 2024](https://hashnode.com/posts/self-learning-swift-1-struct-vs-class/6654187b00d476491f3fff80)
