Contents

decodeCGPoint(forKey:)

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

Declaration

func decodeCGPoint(forKey key: String) -> CGPoint

Parameters

  • key:

    The key that identifies the point.

Return Value

The CGPoint structure.

Discussion

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

See Also

Related Documentation

Decoding Geometry-Based Data