It has just dawned at me that I should use [self currentValue] instead
of [self currentProgress] as the argument for the function that alters
the position during animation, i.e.
NSLog( [NSString stringWithFormat:@"%f", [self currentValue]]);
The "progress" indeed grows linearly, at regular time i
On 17 Sep 2008, at 3:04 pm, Graham Cox wrote:
Does it? The likelihood is that the animation is performed using a
regular interval, but the position is modified according to the S-
curve function. With only 7 steps of animation, it's probable that
you are just not noticing the easing in and
On 17 Sep 2008, at 2:56 pm, Oleg Krupnov wrote:
I get the following log:
0.166700
0.333450
0.499950
0.10
0.833090
0.999710
1.00
It follows that the animation is linear (the increment is constant)
Does it? The likelihood is that the animation is performed using a
regular interval
I have got no response, but still I wasn't able to fix this problem. Any ideas?
On Wed, Aug 20, 2008 at 9:49 PM, Oleg Krupnov <[EMAIL PROTECTED]> wrote:
> The problem is that my animation always seems to perform linearly, not
> S-like, although I specify it to do the latter.
>
> Here's my code:
>
The problem is that my animation always seems to perform linearly, not
S-like, although I specify it to do the latter.
Here's my code:
@interface MyAnimation : NSAnimation
{
}
...
@end
@implementation MyAnimation
- (id)init
{
self = [super initWithDuration:0.1F animationCurve:NSAnimationEas