• Stars
    star
    170
  • Rank 223,357 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

See all your scheduled local notifications in one place

ScheduledNotificationsViewController

ScheduledNotificationsViewController shows you all of your pending local notifications in one place, with all the information you need. Tapping on a notification will immediately trigger its delivery, making this small tool invaluable for debugging local notifications.

Medium story here.

Scheduled Delivered Tap to trigger
Scheduled Scheduled Scheduled

Features

  • See all scheduled notifications in one place: every notification includes content, next trigger date, an identifier and a category name.
  • Tap on a notification in a list to immediately trigger its delivery (you can test live how the notification will look). The "real" notification will still arrive in time!
  • Scroll down to see recently delivered notifications (tap "Show Delivered Notifications")
  • Supports light and dark mode natively

Usage

import UIKit
import ScheduledNotificationsViewController

// ...somewhere in "Settings" screen:

#if DEBUG

let notificationsVC = ScheduledNotificationsViewController()
self.navigationController?.pushViewController(notificationsVC, animated: true)

#endif

Troubleshooting

Q: My scheduled notifications list is empty

A: Make sure you have granted notifications permissions to your app on your device. More here: ο£Ώ Asking Permission to Use Notifications

Q: I tap on a notification in a list, but nothing shows up

A: Make sure you're using userNotificationCenter(_:willPresent:withCompletionHandler:) callback in your UNUserNotificationCenterDelegate. More here: ο£Ώ Handling Notifications and Notification-Related Actions (see section "Handle Notifications While Your App Runs in the Foreground")

Installation

Swift Package Manager

  1. Click File β†’ Swift Packages β†’ Add Package Dependency.
  2. Enter http://github.com/nicephoton/ScheduledNotificationsViewController.git.

More Repositories

1

Time

πŸ•° Type-safe time calculations in Swift
Swift
1,073
star
2

AppFolder

πŸ—‚ Never use NSSearchPathForDirectoriesInDomains again
Swift
938
star
3

Delegated

πŸ‘·β€β™€οΈ Closure-based delegation without memory leaks
Swift
703
star
4

Shallows

πŸ›Ά Your lightweight persistence toolbox
Swift
622
star
5

NiceNotifications

πŸ”” Create rich local notifications experiences on iOS with incredible ease
Swift
269
star
6

Placeholders

πŸ…ΏοΈ Define multiple placeholders for UITextField and animate their change
Swift
199
star
7

DateBuilder

πŸ“† Create dates and date components easily (e.g. "first Thursday of the next month")
Swift
136
star
8

TheGreatGame

πŸ† Open-source first-class iOS & watchOS app dedicated to Women’s Euro 2017
Swift
135
star
9

Paperville

πŸ™ Design a city in Swift code (ο£ΏWWDC 2018 submission, ACCEPTED)
Swift
51
star
10

TelegraphKit

πŸ“œ The ultimate solution for showing ad hoc, server-editable web content (FAQs, Tutorials, Privacy Policy, etc.) in your iOS apps
Swift
51
star
11

DonateToUkraine

πŸ‡ΊπŸ‡¦ Implement "donate to Ukraine" inside your app, with Apple Pay
Swift
25
star
12

Alba

πŸŽ™ Stateful event observing engine [DEPRECATED]
Swift
19
star
13

Avenues

πŸŒ… [WIP] Idiomatic image fetching and caching in Swift.
Swift
13
star
14

Subviews

🧩 @​Subview and other ways of making UIKit more fun to use
Swift
9
star
15

Timers

⏲️ Intuitive Swift timers with automatic memory management
Swift
8
star
16

SwiftyNURE

Swift framework for NURE API (CIST)
Swift
3
star
17

Operacjas

πŸ›  [DEPRECATED] Unlocking the full glory of NSOperations
Swift
2
star
18

Swift-hints

1
star
19

DynamicInstance

Swift
1
star
20

Operations

[WIP] NSOperations for 2018
Swift
1
star
21

uahelp-js-scripts

JavaScript
1
star
22

Avenues-Shallows

Making caching even better
Swift
1
star
23

SofarKit

Access Sofar admin data with Swift [WIP]
Swift
1
star
24

Light

πŸ•Š Super thin networking layer built on top of Shallows
Swift
1
star