Instance Method

encodeDirectionalEdgeInsets:forKey:

Encodes directional edge inset data and associates it with the specified key in the coder’s archive.

Declaration

- (void)encodeDirectionalEdgeInsets:(NSDirectionalEdgeInsets)insets forKey:(NSString *)key;

Parameters

insets

The edge insets data to encode.

key

The key identifying the data.

Discussion

When decoding the data from the archive, you pass the value in the key parameter to the corresponding decodeDirectionalEdgeInsetsForKey: method to retrieve the data.

See Also

Encoding Geometry-Based Data

- encodeCGAffineTransform:forKey:

Encodes an affine transform and associates it with the specified key in the receiver’s archive.

- encodeCGPoint:forKey:

Encodes a point and associates it with the specified key in the receiver’s archive.

- encodeCGRect:forKey:

Encodes a rectangle and associates it with the specified key in the receiver’s archive.

- encodeCGSize:forKey:

Encodes size information and associates it with the specified key in the coder’s archive.

- encodeCGVector:forKey:

Encodes vector data and associates it with the specified key in the coder’s archive.

- encodeUIEdgeInsets:forKey:

Encodes edge inset data and associates it with the specified key in the coder’s archive.

- encodeUIOffset:forKey:

Encodes offset data and associates it with the specified key in the coder’s archive.