Hello Everyone
I am new to swift and i am learning from scratch so sorry if I am having hard time to understand, I have this code down here and I don't get why it prints every time i set a value to progress.amount even though I don't call print or even the struct
(Note:I have experienced other languages like c# and c):
import Foundation
struct Progress { var task: String var amount: Int{ didSet { print("(task) is now (amount)% Complete") } } } var progress = Progress(task: "Loading Data", amount: 0) progress.amount = 50 progress.amount = 99 progress.amount = 100
And as a newbie to swift which projects would you suggest me to make to improve my skills, I would be glad to learn swiftui too if necessary