Push the data in the model out to the initial viewControllers when their parent is loaded, not when they're switched to (as the first is never switched to). This feels a bit early to me; shame we don't seem to be able to hook an event when the first one is "switched to"
Pull the deserialization / generation of the model out of some random view controller and into a proper object, behind an interface. There is a simple testing implementation for now, real ones can follow.
Note that the VC is still bound to the implementation currently in use - DI is apparently not a thing in objective-c; I should be using Core Data instead apparently. Another day...
Pull the deserialization / generation of the model out of some random view controller and into a proper object, behind an interface. There is a simple testing implementation for now, real ones can follow.
Note that the VC is still bound to the implementation currently in use - DI is apparently not a thing in objective-c; I should be using Core Data instead apparently. Another day...