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) -> CGPointParameters
- 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.