• 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