Using .onAppear and .onDisappear in your SwiftUI Views

If you have come from a background using UIKit, you will have worked with ViewControllers and have seen several methods from the ViewController class that were called at certain times during the view loading. An example is viewDidLoad: We override the method, and call super.viewDidLoad(), and then have time to do our own thing such [ ] The post Using .onAppear and .onDisappear in your SwiftUI…