Skip to content

Commit 7a3931b

Browse files
authored
update: missed iOS mapping for ON_DESTROY (JetBrains#163)
1 parent 41176a0 commit 7a3931b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

topics/compose/compose-lifecycle.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@ See [`Dispatchers.Main` documentation](https://kotlinlang.org/api/kotlinx.corout
4040

4141
### iOS
4242

43-
| Native events and notifications | Lifecycle event | Lifecycle state change |
44-
|--------------------------------------|-----------------|------------------------|
45-
| `viewDidDisappear` | `ON_STOP` | `STARTED``CREATED` |
46-
| `viewWillAppear` | `ON_START` | `CREATED``STARTED` |
47-
| `willResignActive` | `ON_PAUSE` | `RESUMED``STARTED` |
48-
| `didBecomeActive` | `ON_RESUME` | `STARTED``RESUMED` |
49-
| `didEnterBackground` | `ON_STOP` | `STARTED``CREATED` |
50-
| `willEnterForeground` | `ON_START` | `CREATED``STARTED` |
43+
| Native events and notifications | Lifecycle event | Lifecycle state change |
44+
|-----------------------------------------|-----------------|-------------------------|
45+
| `viewDidDisappear` | `ON_STOP` | `STARTED``CREATED` |
46+
| `viewWillAppear` | `ON_START` | `CREATED``STARTED` |
47+
| `willResignActive` | `ON_PAUSE` | `RESUMED``STARTED` |
48+
| `didBecomeActive` | `ON_RESUME` | `STARTED``RESUMED` |
49+
| `didEnterBackground` | `ON_STOP` | `STARTED``CREATED` |
50+
| `willEnterForeground` | `ON_START` | `CREATED``STARTED` |
51+
| `viewControllerDidLeaveWindowHierarchy` | `ON_DESTROY` | `CREATED``DESTROYED` |
5152

5253
### Web
5354

0 commit comments

Comments
 (0)