# компилятор

Published articles for компилятор.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Пишем плагин Parcelize для компилятора Kotlin под iOS

DevFeed: [Пишем плагин Parcelize для компилятора Kotlin под iOS](<https://devfeed.tech/articles/parcelize-kotlin-ios-23642.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/badoo/articles/566380/>)

Author: arkivanov (Badoo)

Published: 2021-07-09T07:30:01Z

Content type: tutorial

Language: ru

Sources: [Badoo EN](<https://devfeed.tech/sources/badoo-en.md>), [Badoo RU](<https://devfeed.tech/sources/badoo-ru.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-native](<https://devfeed.tech/tags/kotlin-native.md>), [native](<https://devfeed.tech/tags/native.md>), [parcelable](<https://devfeed.tech/tags/parcelable.md>), [parcelize](<https://devfeed.tech/tags/parcelize.md>), [tag-25559b1b0132](<https://devfeed.tech/tags/tag-25559b1b0132.md>), [tag-9e9e5e80d07a](<https://devfeed.tech/tags/tag-9e9e5e80d07a.md>), [tag-a071763eb5bb](<https://devfeed.tech/tags/tag-a071763eb5bb.md>), [tag-e076f05a03bb](<https://devfeed.tech/tags/tag-e076f05a03bb.md>)

### AI overview

The article describes the author's experience creating kotlin-parcelize-darwin, a Kotlin compiler plugin for iOS using Kotlin/Native. It explains the Android kotlin-parcelize and Parcelable model as background, then discusses preserving iOS application state with NSCoding and the motivation for an analogous solution.

### Source excerpt

В этой статье описан мой опыт по написанию плагина для компилятора Kotlin. Моей главной целью было создание плагина под iOS (Kotlin/Native), аналогичного kotlin-parcelize под Android. Дело в том, что в iOS, как и в Android, приложения тоже могут быть убиты системой, а значит, может возникнуть необходимость сохранять стек навигации и другие данные. В результате работы над этой задачей получился kotlin-parcelize-darwin. Подробности о его создании и применении -- под катом. Читать далее