Skip to content

Commit

Permalink
Update multiplatform.md
Browse files Browse the repository at this point in the history
  • Loading branch information
phplego committed Jan 12, 2022
1 parent 7daa8ae commit 8788725
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions multiplatform.md
Expand Up @@ -68,14 +68,14 @@ when you can reuse much of the code in similar platforms.
* [Делитесь кодом со всеми платформами, используемыми в вашем проекте](mpp-share-on-platforms.html#share-code-on-all-platforms).
Используйте его для совместного использования общей бизнес-логики, применимой ко всем платформам;

<img src="https://kotlinlang.org/docs/images/flat-structure.png" width="400" alt="Общий код для всех платформ" title="Общий код для всех платформ">
<img src="https://kotlinlang.org/docs/images/flat-structure.png" width="500" alt="Общий код для всех платформ" title="Общий код для всех платформ">

* [Делитесь кодом с некоторыми платформами](mpp-share-on-platforms.html#share-code-on-similar-platforms), включенными в
ваш проект, но не со всеми. Поступайте так, когда вы можете повторно использовать большую часть кода на аналогичных платформах.

<img src="https://kotlinlang.org/docs/images/hierarchical-structure.png" alt="Иерархическая структура" title="Иерархическая структура" width="1328" height="796">
<img src="https://kotlinlang.org/docs/images/hierarchical-structure.png" alt="Иерархическая структура" title="Иерархическая структура" width="500">

<img src="https://kotlinlang.org/docs/images/iosmain-hierarchy.png" alt="Общий код для целей iOS" title="Общий код для целей iOS" width="400" height="343">
<img src="https://kotlinlang.org/docs/images/iosmain-hierarchy.png" alt="Общий код для целей iOS" title="Общий код для целей iOS" width="500">

<!-- If you need to access platform-specific APIs from the shared code, use the Kotlin mechanism of [expected and actual
declarations](mpp-connect-to-apis.md). -->
Expand Down

0 comments on commit 8788725

Please sign in to comment.