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

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

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

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

5 лет назад
Открыть в
Реализация механизма восстановления состояния iOS-приложения с использованием SwiftUI. https://proglib.io/w/f9e5f9f6
State restoration in SwiftUI

We always want to provide a great user experience in our apps. The system can shut down your app when the user leaves it and when the user relaunches your app, the system creates it from scratch, and the current state of your app is lost. This is a bad user experience. To avoid this kind of situation, we should provide a state restoration mechanism. This week we will learn how to implement state restoration in SwiftUI.

Swift with Majid