Ryan McLeod
Ryan McLeod
Awesome. I implement something similar to TrueTime in my game but this appears much more robust so I'll be stoked to drop this in instead :)
@otymartin don't think so. I've added it on my own by adding an abstraction around TrueTime that saves a time from TrueTime associated with a `bootTime` and `uptime`. With that...
This is the method I use to get uptime: (A simpler one I used previously that read `kern.boottime` seemed to drift?) ```` // Alternate method that doesn't drift // Source:...
Gotcha. So to clarify, are all of the following true? - `start` should only be called once unless it failed previously. - If the device is offline when start is...
For naming inspiration: my own implementation used a method named `startPollingIfNecessary`. * Got it 👍 * It's hard to grok the difference between `retrieveReferenceTimeWithSuccess:failure:` and `start` though. I assume most...
That seems fine for `start` then, especially since libraries often require some sort of `initialize` call before being used. I think that adds some clarity. So `fetchIfNecessary` should only need...
Seeing crashes here now too.
If you do what it says you'd find you answer in the very first sentence of the Getting Started Guide.
Thank you @Jimmygio! Made [a branch with the fixes](https://github.com/warpling/Masonry) for anyone else still moving off Masonry.