winit/src/platform_impl
Mads Marquart 92e9bfe0fc
Allow the user to register the application delegate on macOS and iOS (#3758)
This allows the user to override the application delegate themselves,
which opens several doors for customization that were previously closed.

To do this, we use notifications instead of top-level application delegate
methods.

One effect of not providing an application delegate on iOS is that we no
longer act as-if the application successfully open all URLs there.

This is a breaking change, although unlikely to matter in practice, since the
return value of `application:didFinishLaunchingWithOptions:` is seldom used by
the system (and is likely the preferred behaviour anyhow).
2024-08-11 23:14:18 +02:00
..
android chore: use our own AsAny to provide &dyn Any 2024-08-11 21:24:34 +03:00
apple Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00
linux chore: use our own AsAny to provide &dyn Any 2024-08-11 21:24:34 +03:00
orbital chore: use our own AsAny to provide &dyn Any 2024-08-11 21:24:34 +03:00
web chore: use our own AsAny to provide &dyn Any 2024-08-11 21:24:34 +03:00
windows chore: use our own AsAny to provide &dyn Any 2024-08-11 21:24:34 +03:00
mod.rs Rustfmt: use group_imports 2024-07-07 18:38:50 +02:00