NSArray arrayByTransformObjectsWithBlock method.