I have view A that displays data requiring some heavy computation.
Instead of redoing the computation over and over again, the data is cached every time some piece of data is modified by view B. This worked fine in beta 3, because changes triggered by view B would cause the data to:
- catch the didSet message
- update the cache
- send the didChange message
- view A (and B) was updated as a result
How can I to this in beta 4, now that willSet is used instead and it's too early to update the cache?