On Sun, 7 Nov 2010 21:04:36 -0800, Rick Mann said:
>I have a need to synchronize the actual display update of a UIView hierarchy
>with real time. In my case, I update the display once per second, and I want
>the display to update *on* the second.
>
>Since I don't really have control of when the
On Nov 7, 2010, at 11:46 PM, Kyle Sluder wrote:
> Your solution is probably going to involve using OpenGL and a
> CADisplayLink:http://developer.apple.com/library/ios/#documentation/QuartzCore/Reference/CADisplayLink_ClassRef/Reference/Reference.html
While you probably will need CADisplayLink, y
Thanks, I was afraid of that. I'll consider it after a few other things.
Thanks!
--
Rick
On Nov 7, 2010, at 23:46:19, Kyle Sluder wrote:
> On Sun, Nov 7, 2010 at 10:39 PM, Rick Mann wrote:
>> Well, I've implemented an SNTP client to improve the clock accuracy. I guess
>> what I'm really aski
On Sun, Nov 7, 2010 at 10:39 PM, Rick Mann wrote:
> Well, I've implemented an SNTP client to improve the clock accuracy. I guess
> what I'm really asking is, how long after I exit the run loop before drawing
> is complete?
There's no way to know this. Your code is sitting atop a very deep
frame
On Nov 7, 2010, at 22:34:41, Greg Guerin wrote:
> Rick Mann wrote:
>
>> Note that the precision of all this isn't so high as to make this "hard"
>> real time. It just has to be good enough that a person watching the display
>> and comparing it (visually) to an accurate clock would consider the
Le 8 nov. 2010 à 06:04, Rick Mann a écrit :
> I have a need to synchronize the actual display update of a UIView hierarchy
> with real time. In my case, I update the display once per second, and I want
> the display to update *on* the second.
Maybe you could set a timer to fire every second, a
Rick Mann wrote:
Note that the precision of all this isn't so high as to make this
"hard" real time. It just has to be good enough that a person
watching the display and comparing it (visually) to an accurate
clock would consider them to be synchronized. I'd like to do no
worse than 100 m
I have a need to synchronize the actual display update of a UIView hierarchy
with real time. In my case, I update the display once per second, and I want
the display to update *on* the second.
Since I don't really have control of when the draw happens, I don't know how to
do this. I update all