Contents

stringRepresentation

Returns a formatted string with all the values of a CIVector.

Declaration

var stringRepresentation: String { get }

Discussion

Some example string representations of vectors:

CIVector

stringRepresentation

[CIVector vectorWithX:1.0 Y:0.5 Z:0.3]

"[1.0 0.5 0.3]"

[CIVector vectorWithX:10.0 Y:23.0]

"[10.0 23.0]"

To create a CIVector object from a string representation, use the vectorWithString: method.

See Also

Getting Values From a Vector