Generic Structure

ModifiedContent

No overview available.

Declaration

@frozen struct ModifiedContent<Content, Modifier>

Topics

Type Aliases

typealias ModifiedContent.Body
typealias ModifiedContent.Data

Instance Properties

var body: ModifiedContent<Content, Modifier>.Body
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>

Relationships

Conforms To

  • DynamicViewContent
  • Equatable
  • View
  • ViewModifier

See Also

Implementing View Modifiers

func modifier<T>(T) -> ModifiedContent<Self, T>

Applies a modifier to a view.

Beta
struct EmptyModifier

The empty, or identity, modifier.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software