> never used this method before, but now i'm working on something (on 10.6.8) 
> where it could be useful. The compiler says:
> 
> *** WARNING: The API "-[QCRenderer 
> nextRecommendedRenderingTimeForTime:arguments:]" is deprecated
> 
> So when and why it marked as a deprecated method? Should i use something new?

When, I'm not sure.  Why isn't ever disclosed ;)

Fire up 
/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework/Headers/QCRenderer.h,
 and you'll find

> /*
>       Returns the time at which the renderer will next actually draw new 
> content.
>       Calling renderAtTime before that time will unecessarily redraw the same 
> content.
>       This needs to be reevaluated whenever port values are manually set or 
> when the arguments change.
> */
> - (NSTimeInterval) renderingTimeForTime:(NSTimeInterval)time 
> arguments:(NSDictionary*)arguments;

That's probably what you want?

(I presume you read "nextRecommendedRenderingTimeForTime:" from the QC Mac OS X 
10.6 release notes - if that's the case, you should file a documentation bug)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to