Contents

decodeCGVector(forKey:)

Decodes and returns the Core Graphics vector data associated with the specified key in the coder’s archive.

Declaration

func decodeCGVector(forKey key: String) -> CGVector

Parameters

  • key:

    The key that identifies the vector.

Return Value

The vector data.

Discussion

Use this method to decode vector information that was previously encoded using the encode(_:forKey:) method.

See Also

Related Documentation

Decoding Geometry-Based Data