View
extension View
-
Undocumented
Declaration
Swift
func topographicBackground() -> some View
-
Conditional view modifier. If the provided condition evaluates to ‘true’, the modifier is applied.
- Example:
swift Text("Hello, World!") .if(isLoading) { $0.skeletonText() }
Declaration
Swift
@ViewBuilder func `if`(_ condition: Bool, transform: (Self) -> some View) -> some View
Return Value
The modified view.
- Example:
-
A view modifier that applies the default list style for the app.
Declaration
Swift
func trackerList() -> some View
-
A view modifier that applies the default list row style for the app.
Declaration
Swift
func trackerListRow() -> some View
-
Undocumented
Declaration
Swift
public func infoSheetList() -> some View
-
A view modifier that applies a pulsing effect to a view.
Declaration
Swift
func pulseEffect(color: Color = .red) -> some View
-
A view modifier that applies a skeleton text style. ie, a gray rectangle with rounded corners while the text is loading.
Declaration
Swift
func skeletonText() -> some View
-
Adds a snackbar overlay to a view. Typically used with tier one (root tab views) containing views.
Declaration
Swift
func snackbar() -> some View
-
Undocumented
Declaration
Swift
func trackTapAction(name: String) -> some View
-
Undocumented
Declaration
Swift
func trackView(_ name: String) -> some View