It turns out I couldn't do this with a delegate, like I mentioned in #48. The best way to keep these properties in sync was to remove (or disregard) the backing store of size altogether, which required subclassing WriteableProperty.
I'm happy with the result, but it makes me wonder if PropertyDelegate is still pulling its weight.
It turns out I couldn't do this with a delegate, like I mentioned in #48. The best way to keep these properties in sync was to remove (or disregard) the backing store of
size
altogether, which required subclassingWriteableProperty
.I'm happy with the result, but it makes me wonder if
PropertyDelegate
is still pulling its weight.