> On Sep 7, 2015, at 05:34, Uli Kusterer <
kust...@gmail.com> wrote:
> My rule of thumb: If you're showing value1 or !value1 in the UI or need it synched up right away between 2 controllers, use bindings. As soon as you realize you need a delay, or other issues crop up, rewrite using manual code.
Part of my problem is that the background task that updates my model is asynchronous. My view controller calls the update method (via a timer or a menu item), then immediately calls table.reloadData(). Since the update to the model is asynchronous, though, reloadData() runs before the model is actually updated. The async calls are buried inside a framework I'm using, so I'm not sure how to hook into them to know when the update is really done. Bindings should solve that; no matter when it is, as soon as a new item is downloaded, processed, and added to my model, it shows up in the table. I have no idea if bindings will end up being the best way to go, but if nothing else, I'll actually understand them by the time this is all over. :) Thanks again for the responses, everyone.