Instance Method

decodeCGPointForKey:

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

Declaration

- (CGPoint)decodeCGPointForKey:(NSString *)key;

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 encodeCGPoint: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.

- decodeCGRectForKey:

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

- decodeCGSizeForKey:

Decodes and returns the Core Graphics size 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.