Why doesn't iOS have a built-in network of error responders?

According to Apple's Error Programming Guide , AppKit has an error response chain that NSResponder with willPresentError: and NSApplicationDelegate with application:willPresentError: etc.

But in iOS, UIKit is the lack of architecture for this. I found an open source project ErrorKit implemented a chain of error responders, but was just surprised why Apple did not provide support at the framework level. Or is there any other way to handle errors in iOS?

+6
source share

Source: https://habr.com/ru/post/972293/


All Articles