Leung Alexalexltytca.hashnode.devยทMay 27, 2024Self-learning Swift (1): Struct vs ClassThe 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 copy of the object and Class is a reference type, it will create a pointer to the object. Class - refe...SwiftAdd a thoughtful commentNo comments yetBe the first to start the conversation.