Обложка канала

Библиотека мобильного разработчика

Полезные материалы по всему, что может быть интересно мобильному разработчику.

Библиотека мобильного разработчика

4 года назад
Открыть в
Немного магии в поведении SwiftUI-модификатора .animation вам в ленту. Читать
When .animation animates more (or less) than it’s supposed to – Ole Begemann

SwiftUI views and view modifiers can be divided into “rendering“ and “non-rendering” groups. The position of the `animation` modifier with respect to non-rendering modifiers is irrelevant for the question if a change gets animated or not.

oleb.net