winit/src/platform_impl/apple/appkit
Mads Marquart a61e7bb4f4
iOS: Refactor event handling to share code with macOS (#3865)
Instead of storing the event handler within the AppState, and extracting
it our every time we need it, we now use the same event handling
implementation as for macOS that ensures we don't re-entrantly call the
event handler, and that we un-register the handler again after we're
done using it (`UIApplicationMain` won't return, but may still unwind,
so this is very important for panic safety).
2024-08-15 23:19:57 +02:00
..
app.rs Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00
app_state.rs iOS: Refactor event handling to share code with macOS (#3865) 2024-08-15 23:19:57 +02:00
cursor.rs Change create_custom_cursor() to return Result (#3844) 2024-08-06 18:57:03 +02:00
event.rs Move iOS and macOS implementations into new apple module (#3756) 2024-06-24 13:26:49 +02:00
event_loop.rs Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00
ffi.rs Move iOS and macOS implementations into new apple module (#3756) 2024-06-24 13:26:49 +02:00
menu.rs Move iOS and macOS implementations into new apple module (#3756) 2024-06-24 13:26:49 +02:00
mod.rs iOS: Refactor event handling to share code with macOS (#3865) 2024-08-15 23:19:57 +02:00
monitor.rs Various Monitor/VideoModeHandle methods now return an Option 2024-08-08 01:29:51 +02:00
observer.rs Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00
util.rs Move iOS and macOS implementations into new apple module (#3756) 2024-06-24 13:26:49 +02:00
view.rs Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00
window.rs Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00
window_delegate.rs Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00