Swift

Swift 相關

Delegate Pattern in Swift

The Delegate Pattern is a commonly used design pattern in iOS development that allows one object to delegate certain responsibilities or behaviors ...

iOS MVC Architecture

MVC is Apple’s exemplary framework; in the era of UIKit, it was an important pattern. Recently, whenever I find some free time, I spend it reading ...

SwiftUI Data Flow

SwiftUI employs a declarative approach for UI design. The data transmission follows the sequence of Action → State → View, which is a fixed directi...

Connecting ChatGPT to ChatGPT (2)

In the previous article, we used Python to connect to the ChatGPT API. However, as an iOS developer, I am interested in trying to directly use Chat...

SwiftUI & Compose

Google is currently promoting the Android Study Jam event, and out of curiosity, I participated in the Study Jam online briefing.