Simple pinning allows to pin a layer to its parent with the following:

When selecting a pin, Auto-Layout will set the pin constant value as the current pixel value.

For example if a layer is 20px from the right and you select Pin to Right, the right pin constant value will be set to 20px.

Once a pin is set, Auto-Layout will enforce the pin value when the artboard is resized.

For example if you pinned a layer to the right by 20px, you can resize the artboard by dragging its right side and you’ll notice the layer always stays 20px from the right.

Pin to Parent

Layer in an Artboard

Layer in a Group


Pinning by Pixels

Pinning by Percent