When I was learning React, one important skill was learning how to create reusable components. This helped me manage my code better and made my...
In Swift, @state is a local state hook, similar to state hook “useState” in React, it will monitor the change of a variable. But @state don't have the...
This is how a @main looks like in Swift, every time the program/app started, it will first start with the code in @main. I would say it looks familiar...
The main difference between struct and class in the type, both of them are used to create object in Swift. Struct is a value type, it will create a...
I've always been fascinated by how Swift, SwiftUI, and CoreData enhance the entire Apple development ecosystem. For the past two years, I dedicated...