# Combining Gestures

[SwiftUI](..) ⟩ [Gestures]() ⟩ [Combine](combine) ⟩&#x20;

{% tabs %}
{% tab title="⭐️ 重點" %}
{% hint style="success" %}
<mark style="color:orange;">**three**</mark> gesture composition types:&#x20;

* <mark style="color:red;">**simultaneous**</mark>: detect multiple gestures <mark style="color:orange;">**at the same time**</mark>.
* [<mark style="color:red;">**sequenced**</mark>](combine/sequenced): recognizes the gestures <mark style="color:orange;">**in a specific order**</mark>.
* <mark style="color:red;">**exclusive**</mark>: <mark style="color:orange;">**recognize all**</mark> specified gestures, but <mark style="color:orange;">**ignore rest**</mark> <mark style="color:blue;">**when one is detected**</mark>.
{% endhint %}
{% endtab %}

{% tab title="📗 參考" %}
* [x] [Mastering SwiftUI](https://www.appcoda.com/swiftui/), Ch. 17: Using Gestures (p.375)
* [x] [SwiftUI](https://developer.apple.com/documentation/swiftui) ⟩ [Gestures](https://developer.apple.com/documentation/swiftui/gestures) ⟩&#x20;
  * [x] [Adding Interactivity with Gestures](https://developer.apple.com/documentation/swiftui/adding-interactivity-with-gestures)&#x20;
  * [x] [Composing SwiftUI Gestures](https://developer.apple.com/documentation/swiftui/composing-swiftui-gestures) ⭐️
{% endtab %}
{% endtabs %}
