decodeCGSize(forKey:)
Decodes and returns the Core Graphics size structure associated with the specified key in the coder’s archive.
Declaration
func decodeCGSize(forKey key: String) -> CGSizeParameters
- key:
The key that identifies the size information.
Return Value
The CGSize structure.
Discussion
Use this method to decode size information that was previously encoded using the encode(_:forKey:) method.