IIRC, didSet on properties of type Array was called if I change the array with append()
It seems that Swift in Xcode7.3 Beta 2 doesn't do this any longer.
import Foundation
class Container {
var strings: [String] = [] {
didSet {
Swift.print("Change strings: \(self.strings)")
}
}
}
let container = Container()
container.strings = ["One"]
container.strings.append("Two")Is this just a bug or intended?