---
title: "init(string:)"
framework: coreimage
role: symbol
role_heading: Initializer
path: "coreimage/civector/init(string:)"
---

# init(string:)

Initialize a Core Image vector object with values provided in a string representation.

## Declaration

```swift
convenience init(string representation: String)
```

## Parameters

- `representation`: A string that is in one of the formats returned by the stringRepresentation method.

## Return Value

Return Value  An initialized CIVector object.

## See Also

### Initializing a Vector

- [init(values:count:)](coreimage/civector/init(values:count:).md)
- [init(x:)](coreimage/civector/init(x:).md)
- [init(x:y:)](coreimage/civector/init(x:y:)-4grr.md)
- [init(x:y:z:)](coreimage/civector/init(x:y:z:)-zais.md)
- [init(x:y:z:w:)](coreimage/civector/init(x:y:z:w:)-75emo.md)
- [init(cgAffineTransform:)](coreimage/civector/init(cgaffinetransform:)-6o8gl.md)
- [init(cgPoint:)](coreimage/civector/init(cgpoint:)-8cf9j.md)
- [init(cgRect:)](coreimage/civector/init(cgrect:)-6bolw.md)
