---
title: ModifierBase
framework: developertoolssupport
role: symbol
role_heading: Associated Type
path: developertoolssupport/librarycontentprovider/modifierbase
---

# ModifierBase

A type to use as a base for modifier completions.

## Declaration

```swift
associatedtype ModifierBase = Any
```

## Discussion

Discussion To verify that the completion for a modifier compiles, you specify modifiers as they apply to some base type. Since most modifiers can modify any SwiftUI view, you typically specify any concrete implementation of the View protocol for ModifierBase. However, some modifiers apply to more specific types, like Image or Text, or to an entirely different type like Shape.

## See Also

### Adding Modifiers

- [modifiers(base:)](developertoolssupport/librarycontentprovider/modifiers(base:).md)
