2 个仓库
Mechanisms for executing specific logic in response to UI events via closure-based callbacks.
Distinct from Closure Callbacks: The candidates focus on network connection closures or FFI-specific closure providers; this is about general UI event handling.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Callback Event Handlers. Refine with filters or upvote what's useful.
PopupView 是一个 SwiftUI 弹出库和模态视图管理器,用于在活动屏幕上显示 Toast 和浮动提醒。它作为一个覆盖层动画框架和通知系统,用于在 SwiftUI 用户界面中渲染非侵入式 UI 元素。 该库提供了用于覆盖层弹出渲染和通知管理的工具,允许创建出现在主要应用内容之上的自定义视图。它包括用于弹出背景定制和布局配置的功能,以管理屏幕定位和内边距。 该系统通过手势和计时器处理模态状态管理和关闭逻辑。它涵盖了用于控制元素出现和消失的过渡动画,以及感知安全区域的定位和状态驱动的可见性控制。
Provides closure-based callbacks to execute custom logic when popups are triggered or dismissed.
HotKey is a developer library for registering system-wide keyboard shortcuts in macOS applications. It binds modifier keys and key codes to system-wide identifiers using native operating system event hooks, allowing applications to respond to key combinations while running in the background. The library executes custom closures asynchronously when native keyboard monitor notifications match registered global shortcut signatures. It handles both press and release events, and automatically unregisters system hot key bindings during object deallocation to prevent stale event listeners and memory
Executes custom closure callbacks asynchronously in response to global keyboard monitoring events.