# on...

## Overview

### onAppear

### onChange

```swift
.onChange(of: xxx) // of: means change of the xxx
```

```swift
Slider(value: $filterIntensity)
    .onChange(of: filterIntensity) { _ in
        applyProcessing()
    }
```

{% embed url="<https://youtu.be/2hL0xkGDPr4>" %}
[Hacking with Swift / 100 Days / Day-62 - Responding to state changes using onChange()](https://www.hackingwithswift.com/books/ios-swiftui/responding-to-state-changes-using-onchange)
{% endembed %}

### onDelete

### onReceive

**See Also**: [triggers](https://swift.sedatonat.dev/codes/conditionals/triggers "mention")

### onScene

{% embed url="<https://youtu.be/smcVKcd44V4>" %}
[Hacking with Swift / 100 Days / Day-87 - How to be notified when your SwiftUI app moves to the background](https://www.hackingwithswift.com/books/ios-swiftui/how-to-be-notified-when-your-swiftui-app-moves-to-the-background)
{% endembed %}

### onTapGesture

#### Sources

{% embed url="<https://youtu.be/dg3B9HHTGHM>" %}
[Hacking with Swift / 100 Days / Day-36 - Deleting items using onDelete()](https://www.hackingwithswift.com/books/ios-swiftui/deleting-items-using-ondelete)
{% endembed %}

### onSubmit

## Sources

### Videos

### Articles / Documents

*
