Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this user
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rrk12005
/
SynchronyFinancialWatchApp
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
1
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
1afb768
SynchronyFinancial
Pods
SynchronyFinancial WatchKit App
SynchronyFinancial WatchKit Extension
Assets.xcassets
ExtensionDelegate.swift
Info.plist
InterfaceController.swift
NotificationController.swift
PushNotificationPayload.apns
SynchronyFinancial.xcodeproj
SynchronyFinancial.xcworkspace
SynchronyFinancial
Podfile.lock
podfile
.gitignore
README.md
Breadcrumbs
SynchronyFinancialWatchApp
/
SynchronyFinancial
/
SynchronyFinancial WatchKit Extension
/
NotificationController.swift
Blame
Blame
Latest commit
History
History
38 lines (30 loc) · 1.04 KB
Breadcrumbs
SynchronyFinancialWatchApp
/
SynchronyFinancial
/
SynchronyFinancial WatchKit Extension
/
NotificationController.swift
Top
File metadata and controls
Code
Blame
38 lines (30 loc) · 1.04 KB
Raw
// // NotificationController.swift // SynchronyFinancial WatchKit Extension // // Created by Alan Maynard on 11/15/18. // Copyright © 2018 Alan Maynard. All rights reserved. // import WatchKit import Foundation import UserNotifications class NotificationController: WKUserNotificationInterfaceController { override init() { // Initialize variables here. super.init() // Configure interface objects here. } override func willActivate() { // This method is called when watch view controller is about to be visible to user super.willActivate() } override func didDeactivate() { // This method is called when watch view controller is no longer visible super.didDeactivate() } override func didReceive(_ notification: UNNotification) { // This method is called when a notification needs to be presented. // Implement it if you use a dynamic notification interface. // Populate your dynamic notification interface as quickly as possible. } }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
You can’t perform that action at this time.