.padding

#padding #horizontalpadding #verticalpadding

Overview

Horizontal Padding

.padding(.horizontal)

Adds horizontal padding.

Vertical Padding

.padding(.vertical)

Adds vertical padding.

Horizontal & Vertical padding

.padding([.horizontal, .vertical])

Adds both horizontal and vertical padding.

Sample Codes

Sources

Videos

Articles / Documents

Last updated