View utilities
Small public modifiers for truncation, first appearance, and edge padding.
FreakUI adds three focused modifiers to View.
| Modifier | Behavior |
|---|---|
singleLineLimit() | Limits content to one line and truncates at the tail |
onFirstAppear(perform:) | Runs once during the current view identity's lifetime |
paddings(left:right:top:bottom:) | Applies independent edge values |
Text(title)
.singleLineLimit()
.paddings(
left: .paddingM,
right: .paddingM,
top: .paddingS,
bottom: .paddingS
)