---------- Forwarded message ---------- From: Dave O'Neill <[email protected]> Date: Sat, Mar 7, 2015 at 2:24 PM Subject: Re: How does one update a view position during a core audio render callback? To: Patrick Collins <[email protected]>
Here's an example https://gist.github.com/dave234/72bce8798dc7b1ade48b Try moving slider around and see it block the timer. Then comment out: NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:1.0 / 60.0 target:self selector:@selector(moveBox) userInfo:nil repeats:1]; and uncomment : NSTimer *timer = [NSTimer timerWithTimeInterval:1.0 / 60.0 target:self selector:@selector(moveBox) userInfo:nil repeats:1]; [[NSRunLoop mainRunLoop]addTimer:timer forMode:NSRunLoopCommonModes]; and try it again;
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
