class baseGoo{
var isScannerRunning = false
{
willSet{
print(newValue)
}
}
var desp:String = ""
{
willSet{
print(newValue)
}
}
func testFun()->(){
desp = "bgggg"
}
}
let base = baseGoo()
base.desp = "egggg"
base.testFun()
2021-12-26 22:33:53
class baseGoo{
var isScannerRunning = false
{
willSet{
print(newValue)
}
}
var desp:String = ""
{
willSet{
print(newValue)
}
}
func testFun()->(){
desp = "bgggg"
}
}
let base = baseGoo()
base.desp = "egggg"
base.testFun()