[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSAnimation...
From: |
Xavier Glattard |
Subject: |
NSAnimation... |
Date: |
Thu, 5 Apr 2007 16:36:50 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hello all :-)
I'm still working on the NSAnimation class, but i can't understand
some parts of the specs... I need your opinion.
How should the array returned by [-runLoopModesForAnimating] be used ?
1) schedule one timer for each mode in the array ?
(so the animation runs whatever the mode will be)
2) start the animation only if [-currentMode] is in the array ?
3) something else ?
What should happen if [-runLoopModesForAnimating] is empty or contains
only unknown modes ?
1) do nothing and return ?
2) immediatly call [GSAnimator -_animationEnd] and/or
[NSAnimation -animatorDidStop] ?
3) wait 'duration' then stop ?
4) something else ?
At end a NSRunLoop question :
What is the actual difference between
[-runMode:beforeDate:]
and
[-acceptInputForMode:beforeDate:]
Which one should i use with an NSAnimation-specific runLoop ?
(blocking and threaded mode)
Many thnks !
Xavier
Re: NSAnimation..., Gregory John Casamento, 2007/04/09