---
title: "init(_:_:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/simultaneousgesture/init(_:_:)"
---

# init(_:_:)

Creates a gesture with two gestures that can receive updates or succeed independently of each other.

## Declaration

```swift
nonisolated init(_ first: First, _ second: Second)
```

## Parameters

- `first`: The first of two gestures that can happen simultaneously.
- `second`: The second of two gestures that can happen simultaneously.

## See Also

### Creating the gesture

- [first](swiftui/simultaneousgesture/first.md)
- [second](swiftui/simultaneousgesture/second.md)
