Том 4 № 3 (2021): Научно-образовательный журнал преподавателей и студентов «StudNet»
УДК 004.4
Шапетько Л.А., студент, 4 курс, Институт информационных технологий, МИРЭА – Российский Технологический Университет Россия, г. Москва
Носов В.Р., студент, 4 курс, Институт информационных технологий МИРЭА – Российский Технологический Университет Россия, г. Москва
Шушарин М.А., студент, 4 курс, Институт информационных технологий, МИРЭА – Российский Технологический Университет Россия, г. Москва
Shapetko L. A., shapetko.leonid@gmail.com
Nosov V. R., shapetko.leonid@gmail.com
Shusharin M. A., shapetko.leonid@gmail.com
Аннотация
При разработке мобильного приложения может возникнуть необходимость в реализации методов, которые функционируют на различных этапах жизненного цикла приложения. В данной статье анализируются модель жизненного цикла, обозначаются основные этапы жизненного и описываются методы, используемые на каждом этапе. Для каждого метода дается краткое описание. На практическом примере показываются функционирование основных методов модели.
Annotation
When developing a mobile application, it may be necessary to implement methods that function at different stages of the application lifecycle. This article analyzes the life cycle model, identifies the main stages of the life cycle, and describes the methods used at each stage. A brief description is given for each method. A practical example shows the functioning of the main methods of the model.
Ключевые слова: iOS, жизненный цикл приложения, разработка мобильных приложений, AppDelegate, SceneDelegate.
Keywords: iOS, App Lifecycle, Mobile App Development, AppDelegate, SceneDelegate.
Использованные источники:
- Protocol: UIApplicationDelegate. [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate (дата обращения: 19.02.2021)
- Article: Managing Your App’s Life Cycle. [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/app_and_environment/managing_your_app_s_life_cycle (дата обращения: 19.02.2021)
- Instance Method: application(_:willFinishLaunchingWithOptions:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623032-application (дата обращения: 20.02.2021)
- Instance Method: application(_:didFinishLaunchingWithOptions:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application (дата обращения: 20.02.2021)
- Instance Method: application(_:configurationForConnecting:options:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/3197905-application (дата обращения: 20.02.2021)
- Instance Method: sceneWillEnterForeground(_:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197918-scenewillenterforeground (дата обращения: 21.02.2021)
- Instance Method: sceneDidBecomeActive(_:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197915-scenedidbecomeactive (дата обращения: 21.02.2021)
- Instance Method: sceneWillResignActive(_:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197919-scenewillresignactive (дата обращения: 22.02.2021)
- Instance Method: sceneDidEnterBackground(_:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197917-scenedidenterbackground (дата обращения: 22.02.2021)
- Instance Method: sceneDidDisconnect(_:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197916-scenediddisconnect (дата обращения: 22.02.2021)
- Instance Method: applicationWillTerminate(_:). [Электронный ресурс]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623111-applicationwillterminate (дата обращения: 22.02.2021)
Sources used:
- Protocol: UIApplicationDelegate. [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate (accessed: 19.02.2021)
- Article: Managing The Lifecycle Of Your Application. [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/app_and_environment/managing_your_app_s_life_cycle (accessed: 19.02.2021)
- Instance method: application ( _ : willFinishLaunchingWithOptions:). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623032-application (accessed: 20.02.2021)
- Instance method: application ( _ : didFinishLaunchingWithOptions:). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application (accessed: 20.02.2021)
- Instance method: application ( _ : configurationForConnecting: options:). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/3197905-application (accessed: 20.02.2021)
- Instance method: sceneWillEnterForeground ( _ :). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197918-scenewillenterforeground (accessed: 21.02.2021)
- Instance method: sceneDidBecomeActive ( _ :). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197915-scenedidbecomeactive (accessed: 21.02.2021)
- Instance method: sceneWillResignActive ( _ :). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197919-scenewillresignactive (accessed: 22.02.2021)
- Instance method: sceneDidEnterBackground ( _ :). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197917-scenedidenterbackground (accessed: 22.02.2021)
- Instance method: sceneDidDisconnect ( _ :). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiscenedelegate/3197916-scenediddisconnect (accessed: 22.02.2021)
- Instance method: applicationWillTerminate ( _ :). [Electronic resource]. URL: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623111-applicationwillterminate (accessed: 22.02.2021)
