Contents

decodeDirectionalEdgeInsets(forKey:)

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

Declaration

func decodeDirectionalEdgeInsets(forKey key: String) -> NSDirectionalEdgeInsets

Parameters

  • key:

    The key that identifies the edge insets.

Discussion

Use this method to decode edge inset information that was previously encoded using the encode(_:forKey:) method.

See Also

Decoding Geometry-Based Data