RepositorySwiftSEThụy Điển
DA

danielsaidi/SystemNotification

Mimic the native system notification in SwiftUI.

958sao
36fork
1issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: notification

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: system-notification

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: toast

#2 Repository Của Tuần

📱 SystemNotification - Tạo toast giống hệ thống chỉ bằng một modifier

Thêm system notification vào bất kỳ view nào như thêm sheet, alert.

SystemNotification là thư viện SwiftUI cho phép bạn mô phỏng chính xác thông báo hệ thức native trên iOS — như khi bật/tắt chế độ im, kết nối AirPods, v.v. Bạn có thể tùy chỉnh kiểu dáng hoặc dùng bất kỳ custom view nào làm nội dung.

✨ Điểm nổi bật

  • systemNotification modifier: Thêm notification vào view bằng một modifier duy nhất.
  • State-based: Dùng boolean binding để bật/tắt notification.
  • Context-based: Dùng SystemNotificationContext để quản lý nhiều notification khác nhau.
  • SystemNotificationMessage: View mặc định giống hệ thống với icon, title và text.
  • Tùy chỉnh hoàn toàn: Dùng bất kỳ custom view nào thay thế nội dung notification.

💡 Vì sao đáng chú ý

SystemNotification không chỉ là một thư viện tạo toast đẹp — nó mang lại trải nghiệm người dùng nhất quán với toàn bộ hệ sinh thái iOS. Với hai cách tiếp cận state-based và context-based linh hoạt, bạn dễ dàng tích hợp vào bất kỳ kiến trúc nào. Đặc biệt hữu ích cho các ứng dụng SwiftUI muốn hiển thị thông báo ngắn gọn, trực quan mà không cần xây dựng từ đầu.


#SwiftUI #iOS #Toast #SystemNotification #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositorySwift
jordanbaird/Ice

Powerful menu bar manager for macOS

29.9k
Oct 6, 2026
RepositorySwift
CodeEditApp/CodeEdit

📝 CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.

23.1k
Oct 17, 2026
RepositorySwift
calimarkus/JDStatusBarNotification

Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC!

4.3k
Dec 18, 2024
RepositorySwift
exyte/PopupView

Toasts and popups library written with SwiftUI

4.1k
Oct 6, 2026
RepositorySwift
BastiaanJansen/toast-swift

Customizable Swift Toast view built with UIKit. 🍞

785
Nov 7, 2025
RepositoryTypeScript
LouisBarranqueiro/reapop

:postbox: A simple and customizable React notifications system

1.6k
Oct 12, 2026
RepositoryTypeScript
smastrom/notivue

Zero-dependency, powerful, and truly customizable toast notification system for Vue

868
Jun 12, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

208.6k
Oct 25, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

194.3k
Oct 25, 2026