I have this block of code in a view class I have:
private var notes: [String] = [] { didSet { if notes.count > 0, notes.count == (oldValue.count