¿Cómo animar el dibujo de un CGPath?

Me pregunto si hay una manera de hacer esto usando Core Animation. Específicamente, estoy agregando una subcapa a un NSView personalizado respaldado por capas y estableciendo su delegado a otro NSView personalizado. El método drawInRect de esa clase dibuja un solo CGPath:

- (void)drawInRect:(CGRect)rect inContext:(CGContextRef)context
{
    CGContextSaveGState(context);
    CGContextSetLineWidth(context, 12);

    CGMutablePathRef path = CGPathCreateMutable();
    CGPathMoveToPoint(path, NULL, 0, 0);
    CGPathAddLineToPoint(path, NULL, rect.size.width, rect.size.height);

    CGContextBeginPath(context);
    CGContextAddPath(context, path);
    CGContextStrokePath(context);
    CGContextRestoreGState(context);
}

Mi efecto deseado sería animar el dibujo de esta línea. Es decir, me gustaría que la línea se "estire" de una manera animada. Parece que habría una manera simple de hacer esto usando Core Animation, pero no he podido encontrar ninguna.

¿Tiene alguna sugerencia sobre cómo podría lograr este objetivo?