Instance Method

decodeCGSizeForKey:

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

Declaration

- (CGSize)decodeCGSizeForKey:(NSString *)key;

Parameters

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 encodeCGSize:forKey: method.

See Also

Decoding Geometry-Based Data

- decodeCGAffineTransformForKey:

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

- decodeCGPointForKey:

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

- decodeCGRectForKey:

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

- decodeCGVectorForKey:

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

- decodeDirectionalEdgeInsetsForKey:

Decodes and returns the UIKit directional edge insets structure associated with the specified key in the coder’s archive.

- decodeUIEdgeInsetsForKey:

Decodes and returns the UIKit edge insets structure associated with the specified key in the coder’s archive.

- decodeUIOffsetForKey:

Decodes and returns the UIKit offset structure associated with the specified key in the coder’s archive.