Generic Structure

ModifiedContent

A value with a modifier applied to it.

Declaration

@frozen struct ModifiedContent<Content, Modifier>

Topics

Creating a Modified Content View

Type Aliases

typealias ModifiedContent.Data

Instance Properties

var data: Content.Data

Instance Methods

func accessibility(activationPoint: UnitPoint) -> ModifiedContent<Content, Modifier>
func accessibility(activationPoint: CGPoint) -> ModifiedContent<Content, Modifier>
func accessibility(addTraits: AccessibilityTraits) -> ModifiedContent<Content, Modifier>
func accessibility(hidden: Bool) -> ModifiedContent<Content, Modifier>
func accessibility(hint: Text) -> ModifiedContent<Content, Modifier>
func accessibility(identifier: String) -> ModifiedContent<Content, Modifier>
func accessibility(label: Text) -> ModifiedContent<Content, Modifier>
func accessibility(sortPriority: Double) -> ModifiedContent<Content, Modifier>
func accessibility(value: Text) -> ModifiedContent<Content, Modifier>
func accessibilityAction(named: Text, () -> Void) -> ModifiedContent<Content, Modifier>
func accessibilityScrollAction((Edge) -> Void) -> ModifiedContent<Content, Modifier>

Applying Standard Modifiers

View Modifiers

Configure this view and the views it contains by applying standard modifiers.

Relationships

Conforms To

  • DynamicViewContent
  • Equatable
  • View
  • ViewModifier

See Also

Implementing View Modifiers

struct EmptyModifier

The empty, or identity, modifier.