How to use SpriteAnimation in Cocos2d v3 ?

Below code helped in cocos2d 2.0, now getting many error like CCAnimationCache, CCAnimate not found. Is there any cocos2d 3.0 sample which uses sprite frames for animation ?

```
    NSString *animName = @"FOG_ANIMATION";
    CCAnimation* animation = nil;

    animation = [[CCAnimationCache sharedAnimationCache]  animationByName:animName];

    if(!animation)
    {
        NSMutableArray *animFrames = [NSMutableArray array];
        CCSpriteFrameCache *cache = [CCSpriteFrameCache sharedSpriteFrameCache];

        for(int i=1;i<=18;i++)
        {
            NSString *file = [NSString stringWithFormat:@"Steam_%.2d.png",i];
            CCSpriteFrame *frame = [cache spriteFrameByName:file];

            if(frame)
            {
                [animFrames addObject:frame];
            }
        }

        animation = [CCAnimation animationWithSpriteFrames:animFrames];
        animation.delayPerUnit = DELAY_PER_FRAME_HERO_RUN;// 0.1f;
        animation.restoreOriginalFrame = NO;

        [[CCAnimationCache sharedAnimationCache] addAnimation:animation name:animName];
    }

    CCAnimate *AnimAction  = [CCAnimate actionWithAnimation:animation];
    CCRepeatForever *repAction = [CCRepeatForever actionWithAction:AnimAction];

    [steam runAction:repAction];

```