├── LICENSE
├── NotificationService
├── Info-MultipleTarget.plist
├── Info.plist
├── NotificationService.entitlements
├── NotificationService.h
└── NotificationService.m
├── NotificationViewC
├── Base.lproj
│ └── MainInterface.storyboard
├── Info.plist
├── NotificationViewC.entitlements
├── NotificationViewController.h
└── NotificationViewController.m
├── Push
├── AppDelegate.h
├── AppDelegate.m
├── Assets.xcassets
│ ├── AppIcon-demo.appiconset
│ │ └── Contents.json
│ ├── AppIcon.appiconset
│ │ └── Contents.json
│ └── Contents.json
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── Info.plist
├── Push.entitlements
├── ViewController.h
├── ViewController.m
├── Widget
│ ├── NumberWidget
│ │ ├── Base.lproj
│ │ │ └── MainInterface.storyboard
│ │ ├── Info.plist
│ │ ├── NumberWidget.entitlements
│ │ ├── TodayViewController.h
│ │ └── TodayViewController.m
│ ├── W.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcuserdata
│ │ │ │ ├── Avish.xcuserdatad
│ │ │ │ └── UserInterfaceState.xcuserstate
│ │ │ │ └── gh.xcuserdatad
│ │ │ │ └── UserInterfaceState.xcuserstate
│ │ └── xcuserdata
│ │ │ ├── Avish.xcuserdatad
│ │ │ ├── xcdebugger
│ │ │ │ └── Breakpoints_v2.xcbkptlist
│ │ │ └── xcschemes
│ │ │ │ ├── NumberWidget.xcscheme
│ │ │ │ ├── W.xcscheme
│ │ │ │ └── xcschememanagement.plist
│ │ │ └── gh.xcuserdatad
│ │ │ ├── xcdebugger
│ │ │ └── Breakpoints_v2.xcbkptlist
│ │ │ └── xcschemes
│ │ │ ├── NumberWidget.xcscheme
│ │ │ ├── W.xcscheme
│ │ │ └── xcschememanagement.plist
│ ├── W
│ │ ├── AppDelegate.h
│ │ ├── AppDelegate.m
│ │ ├── Assets.xcassets
│ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ ├── Base.lproj
│ │ │ ├── LaunchScreen.storyboard
│ │ │ └── Main.storyboard
│ │ ├── Info.plist
│ │ ├── ViewController.h
│ │ ├── ViewController.m
│ │ ├── W.entitlements
│ │ └── main.m
│ ├── WTests
│ │ ├── Info.plist
│ │ └── WTests.m
│ └── WUITests
│ │ ├── Info.plist
│ │ └── WUITests.m
├── main.m
└── project 4.pbxproj
├── PushTests
├── Info.plist
└── PushTests.m
├── PushUITests
├── Info.plist
└── PushUITests.m
├── README.md
├── RichNotification copy-Info.plist
├── RichNotification.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcuserdata
│ │ └── gh.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
└── xcuserdata
│ └── gh.xcuserdatad
│ ├── xcdebugger
│ └── Breakpoints_v2.xcbkptlist
│ └── xcschemes
│ ├── NotificationService-MultipleTarget.xcscheme
│ ├── NotificationService.xcscheme
│ ├── NotificationViewC.xcscheme
│ ├── RichNotification.xcscheme
│ ├── RichNotificationMultipleTarget.xcscheme
│ └── xcschememanagement.plist
└── notification.png
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Avish Manocha
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/NotificationService/Info-MultipleTarget.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | NotificationService-MultipleTarget
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | XPC!
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | NSExtension
24 |
25 | NSExtensionPointIdentifier
26 | com.apple.usernotifications.service
27 | NSExtensionPrincipalClass
28 | NotificationService
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/NotificationService/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | NotificationService
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | XPC!
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | NSExtension
24 |
25 | NSExtensionPointIdentifier
26 | com.apple.usernotifications.service
27 | NSExtensionPrincipalClass
28 | NotificationService
29 |
30 | NSAppTransportSecurity
31 |
32 | NSAllowsArbitraryLoads
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/NotificationService/NotificationService.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | aps-environment
6 | development
7 |
8 |
9 |
--------------------------------------------------------------------------------
/NotificationService/NotificationService.h:
--------------------------------------------------------------------------------
1 | //
2 | // NotificationService.h
3 | // NotificationService
4 | //
5 | // Created by gh on 5/11/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface NotificationService : UNNotificationServiceExtension
12 |
13 |
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/NotificationService/NotificationService.m:
--------------------------------------------------------------------------------
1 | //
2 | // NotificationService.m
3 | // NotificationService
4 | //
5 | // Created by gh on 5/11/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import "NotificationService.h"
10 |
11 | @interface NotificationService ()
12 |
13 | @property (nonatomic, strong) void (^contentHandler)(UNNotificationContent *contentToDeliver);
14 | @property (nonatomic, strong) UNMutableNotificationContent *bestAttemptContent;
15 |
16 | @end
17 |
18 | @implementation NotificationService
19 |
20 | - (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
21 | self.contentHandler = contentHandler;
22 | self.bestAttemptContent = [request.content mutableCopy];
23 |
24 | // Modify the notification content here...
25 | self.bestAttemptContent.title = [NSString stringWithFormat:@"%@ [modified]", self.bestAttemptContent.title];
26 | NSLog(@":%@", self.bestAttemptContent.title);
27 |
28 |
29 | //self.bestAttemptContent.subtitle = [NSString stringWithFormat:@"%@", self.bestAttemptContent.subtitle];
30 |
31 | NSDictionary *userInfo = request.content.userInfo;
32 | NSLog(@":%@", userInfo);
33 |
34 |
35 | if (userInfo == nil) {
36 | [self contentComplete];
37 | return;
38 | }
39 |
40 |
41 | NSString *mediaUrl = userInfo[@"mediaUrl"];
42 | NSString *mediaType = userInfo[@"mediaType"];
43 |
44 |
45 | if (mediaUrl == nil || mediaType == nil) {
46 | [self contentComplete];
47 | return;
48 | }
49 |
50 | // load the attachment
51 | [self loadAttachmentForUrlString:mediaUrl
52 | withType:mediaType
53 | completionHandler:^(UNNotificationAttachment *attachment) {
54 | if (attachment) {
55 | self.bestAttemptContent.attachments = [NSArray arrayWithObject:attachment];
56 | }
57 | [self contentComplete];
58 | }];
59 |
60 |
61 |
62 | }
63 |
64 | - (void)serviceExtensionTimeWillExpire {
65 | // Called just before the extension will be terminated by the system.
66 | // Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the original push payload will be used.
67 | self.contentHandler(self.bestAttemptContent);
68 | }
69 |
70 | - (void)contentComplete {
71 | self.contentHandler(self.bestAttemptContent);
72 | }
73 |
74 | - (NSString *)fileExtensionForMediaType:(NSString *)type {
75 | NSString *ext = type;
76 |
77 | if ([type isEqualToString:@"image"]) {
78 | ext = @"jpg";
79 | }
80 |
81 | if ([type isEqualToString:@"video"]) {
82 | ext = @"mp4";
83 | }
84 |
85 | if ([type isEqualToString:@"audio"]) {
86 | ext = @"mp3";
87 | }
88 |
89 | return [@"." stringByAppendingString:ext];
90 | }
91 |
92 | - (void)loadAttachmentForUrlString:(NSString *)urlString withType:(NSString *)type completionHandler:(void(^)(UNNotificationAttachment *))completionHandler {
93 | //https://www.gstatic.com/webp/gallery3/1.png
94 | __block UNNotificationAttachment *attachment = nil;
95 | NSURL *attachmentURL = [NSURL URLWithString: urlString];
96 | NSString *fileExt = [self fileExtensionForMediaType:type];
97 |
98 | NSURLSession *session = [NSURLSession sessionWithConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
99 | [[session downloadTaskWithURL:attachmentURL
100 | completionHandler:^(NSURL *temporaryFileLocation, NSURLResponse *response, NSError *error) {
101 | if (error != nil) {
102 | NSLog(@"%@", error.localizedDescription);
103 | } else {
104 | NSFileManager *fileManager = [NSFileManager defaultManager];
105 | NSURL *localURL = [NSURL fileURLWithPath:[temporaryFileLocation.path stringByAppendingString:fileExt]];
106 | [fileManager moveItemAtURL:temporaryFileLocation toURL:localURL error:&error];
107 |
108 | NSError *attachmentError = nil;
109 | attachment = [UNNotificationAttachment attachmentWithIdentifier:@"" URL:localURL options:nil error:&attachmentError];
110 | // self.bestAttemptContent.attachments = @[attachment];
111 | if (attachmentError) {
112 | NSLog(@"%@", attachmentError.localizedDescription);
113 | }
114 | }
115 | completionHandler(attachment);
116 | }] resume];
117 | }
118 |
119 |
120 | @end
121 |
--------------------------------------------------------------------------------
/NotificationViewC/Base.lproj/MainInterface.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/NotificationViewC/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | NotificationViewC
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | XPC!
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | NSAppTransportSecurity
24 |
25 | NSAllowsArbitraryLoads
26 |
27 |
28 | NSExtension
29 |
30 | NSExtensionAttributes
31 |
32 | UNNotificationExtensionDefaultContentHidden
33 |
34 | UNNotificationExtensionInitialContentSizeRatio
35 | 1
36 |
37 | NSExtensionMainStoryboard
38 | MainInterface
39 | NSExtensionPointIdentifier
40 | com.apple.usernotifications.content-extension
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/NotificationViewC/NotificationViewC.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | aps-environment
6 | development
7 |
8 |
9 |
--------------------------------------------------------------------------------
/NotificationViewC/NotificationViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // NotificationViewController.h
3 | // NotificationViewC
4 | //
5 | // Created by gh on 5/11/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface NotificationViewController : UIViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/NotificationViewC/NotificationViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // NotificationViewController.m
3 | // NotificationViewC
4 | //
5 | // Created by gh on 5/11/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import "NotificationViewController.h"
10 | #import
11 | #import
12 |
13 | @interface NotificationViewController ()
14 |
15 | @property IBOutlet UILabel *label;
16 | @property IBOutlet UIImageView *picUrl;
17 |
18 | @end
19 |
20 | @implementation NotificationViewController
21 |
22 | - (void)viewDidLoad {
23 | [super viewDidLoad];
24 | // Do any required interface initialization here.
25 | }
26 |
27 | - (void)didReceiveNotification:(UNNotification *)notification {
28 | self.label.text = notification.request.content.body;
29 |
30 |
31 | NSDictionary *dict = notification.request.content.userInfo;
32 |
33 | for (UNNotificationAttachment *attachment in notification.request.content.attachments) {
34 |
35 | if (dict[@"attachment-url"] && [attachment.identifier
36 | isEqualToString:[[dict objectForKey:@"attachment-url"] lastPathComponent]]) {
37 | if ([attachment.URL startAccessingSecurityScopedResource])
38 | {
39 | NSData *imageData = [NSData dataWithContentsOfURL:attachment.URL];
40 |
41 | _picUrl.image = [UIImage imageWithData:imageData];
42 |
43 | // This is done if the spread url is not downloaded then both the image view will show cover url.
44 | _picUrl.image = [UIImage imageWithData:imageData];
45 | [attachment.URL stopAccessingSecurityScopedResource];
46 | }
47 | }
48 | }
49 |
50 | }
51 |
52 | @end
53 |
--------------------------------------------------------------------------------
/Push/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // Push
4 | //
5 | // Created by gh on 5/10/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | extern NSString * globalVariable;
13 |
14 | @interface AppDelegate : UIResponder
15 |
16 | @property (strong, nonatomic) UIWindow *window;
17 |
18 | +(AppDelegate *)delegate;
19 | -(void)initialseTimerNotificationData;
20 |
21 | @end
22 |
23 |
--------------------------------------------------------------------------------
/Push/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // Push
4 | //
5 | // Created by gh on 5/10/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 | #import
11 | #import "NotificationService.h"
12 |
13 | NSString *const pushNotificationCategoryIdent = @"Actionable";
14 | NSString *const pushNotificationFirstActionIdent = @"First_Action";
15 | NSString *const pushNotificationSecondActionIdent = @"Second_Action";
16 |
17 | @interface AppDelegate (){
18 | NSString *devceToken;
19 | UNUserNotificationCenter *center;
20 | }
21 |
22 | @end
23 |
24 | NSString * globalVariable;
25 |
26 | @implementation AppDelegate
27 |
28 |
29 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
30 | // Override point for customization after application launch.
31 |
32 | [self registerForLocalNotification];
33 |
34 | UILocalNotification *launchNote = launchOptions[UIApplicationLaunchOptionsLocalNotificationKey];
35 | if (launchNote) {
36 |
37 | NSLog(@":%@", launchNote.userInfo);
38 |
39 |
40 | }
41 | return YES;
42 | }
43 |
44 |
45 | // Local Notifications
46 |
47 | -(void)registerForLocalNotification{
48 | center = [UNUserNotificationCenter currentNotificationCenter];
49 | [center setDelegate:self];
50 |
51 | [center getNotificationSettingsWithCompletionHandler:^(UNNotificationSettings * settings) {
52 |
53 | if (settings.authorizationStatus == UNAuthorizationStatusNotDetermined || settings.authorizationStatus == UNAuthorizationStatusDenied) {
54 |
55 | [center requestAuthorizationWithOptions:UNAuthorizationOptionSound + UNAuthorizationOptionBadge + UNAuthorizationOptionAlert completionHandler:^(BOOL granted, NSError * error) {
56 | if (!granted) {
57 | NSLog(@"something went wrong");
58 | }
59 | else
60 | {
61 |
62 | }
63 | }];
64 | }
65 | }];
66 |
67 | }
68 |
69 | -(void)initialseTimerNotificationData{
70 | UNMutableNotificationContent *content = [UNMutableNotificationContent new];
71 | content.title = @"Rich Notificaions";
72 | content.subtitle = @"implemented in iOS 10";
73 | content.body = @"This also includes support for Multiple Targets. It's a fascinating thing.";
74 | content.sound = [UNNotificationSound defaultSound];
75 | //content.badge = @1;
76 | content.accessibilityHint = @"NotificationCategory1";
77 |
78 | NSURL *imgUrl = [[NSBundle mainBundle] URLForResource:@"notification" withExtension:@"png"];
79 | NSError *attachmentError = nil;
80 | UNNotificationAttachment *attachment = [UNNotificationAttachment attachmentWithIdentifier:@"" URL:imgUrl options:@{UNNotificationAttachmentOptionsTypeHintKey: @"kUTTypePNG"} error:&attachmentError];
81 | content.attachments = @[attachment];
82 |
83 | [self addNotificationAction];
84 |
85 | // category identifier should be unique. As diff
86 | content.categoryIdentifier = @"NotificationCategory1";
87 |
88 |
89 | // convert string to date
90 |
91 |
92 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:60];
93 | NSDateComponents *componenets = [[NSCalendar currentCalendar] components:NSCalendarUnitSecond + NSCalendarUnitNanosecond fromDate:date];
94 |
95 |
96 | UNCalendarNotificationTrigger *trigger = [UNCalendarNotificationTrigger triggerWithDateMatchingComponents:componenets repeats:false];
97 |
98 |
99 | // [UIApplication sharedApplication].applicationIconBadgeNumber++;
100 |
101 | // scheduling a notification
102 | UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:@"Timer" content:content trigger:trigger];
103 |
104 | [center addNotificationRequest:request withCompletionHandler:^(NSError * _Nullable error) {
105 |
106 | if (error) {
107 | NSLog(@":%@", error.localizedDescription);
108 | }
109 |
110 | }];
111 | }
112 |
113 |
114 | -(void)addNotificationAction{
115 | UNNotificationAction *deleteAction = [UNNotificationAction actionWithIdentifier:@"Delete" title:@"Delete" options:UNNotificationActionOptionDestructive];
116 | UNNotificationAction *openAction = [UNNotificationAction actionWithIdentifier:@"Open" title:@"Open" options:UNNotificationActionOptionForeground];
117 |
118 | UNNotificationCategory *category = [UNNotificationCategory categoryWithIdentifier:@"NotificationCategory1" actions:@[deleteAction, openAction] intentIdentifiers:@[] options:UNNotificationCategoryOptionNone];
119 | NSSet *Categories = [NSSet setWithObject:category];
120 |
121 | [center setNotificationCategories: Categories];
122 |
123 | }
124 |
125 |
126 | - (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void(^)())completionHandler{
127 |
128 | // [UIApplication sharedApplication].applicationIconBadgeNumber++;
129 |
130 |
131 | NSLog(@":%@", response.notification.request.content.categoryIdentifier);
132 |
133 | if ([response.notification.request.content.categoryIdentifier isEqualToString:@"NotificationCategory1"]) {
134 | if (response.actionIdentifier == UNNotificationDismissActionIdentifier) {
135 | NSLog(@"action");
136 | }
137 | else if ([response.actionIdentifier isEqual: @"Delete"]){
138 |
139 | NSLog(@"Delete");
140 | }
141 | else if ([response.actionIdentifier isEqual: @"Open"]){
142 | NSLog(@"open");
143 | }
144 | }
145 |
146 | completionHandler();
147 |
148 | }
149 |
150 | -(void)setTriggerTime{
151 | UNTimeIntervalNotificationTrigger *trigger = [UNTimeIntervalNotificationTrigger triggerWithTimeInterval:100 repeats:YES];
152 | }
153 |
154 | -(void)setTriggerForCalendar{
155 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:100];
156 | NSDateComponents *triggerDate = [[NSCalendar currentCalendar] components:NSCalendarUnitYear + NSCalendarUnitMonth + NSCalendarUnitDay + NSCalendarUnitHour + NSCalendarUnitMinute + NSCalendarUnitSecond fromDate:date];
157 | UNCalendarNotificationTrigger *trigger = [UNCalendarNotificationTrigger triggerWithDateMatchingComponents:triggerDate repeats:YES];
158 | }
159 |
160 |
161 | - (void)registerForRemoteNotification
162 | {
163 | if([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0) {
164 | center = [UNUserNotificationCenter currentNotificationCenter];
165 | center.delegate = self;
166 | [center requestAuthorizationWithOptions:(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge) completionHandler:^(BOOL granted, NSError * _Nullable error){
167 |
168 | [[UIApplication sharedApplication] registerForRemoteNotifications];
169 | //[[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge) categories:nil]];
170 | }];
171 | }
172 | else {
173 | [[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge) categories:nil]];
174 | [[UIApplication sharedApplication] registerForRemoteNotifications];
175 | }
176 | }
177 |
178 |
179 | -(void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings
180 | {
181 | //register to receive notifications
182 | [application registerForRemoteNotifications];
183 | }
184 |
185 | -(void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
186 | NSLog(@"error here : %@", error);//not called
187 | }
188 |
189 |
190 | - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken{
191 |
192 | devceToken = [[NSString alloc]initWithFormat:@"%@",[[[deviceToken description] stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"<>"]] stringByReplacingOccurrencesOfString:@" " withString:@""]];
193 | NSLog(@"Device Token = %@",devceToken);
194 |
195 | [self registerForActionablePushNotification];
196 | }
197 |
198 | -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
199 | if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0) {
200 | [self application:application didReceiveRemoteNotification:userInfo fetchCompletionHandler:^(UIBackgroundFetchResult result){}];
201 | } else {
202 | /// previous stuffs for iOS 9 and below. I've shown an alert wth received data.
203 | }
204 | }
205 |
206 | -(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler{
207 |
208 | //Called when a notification is delivered to a foreground app.
209 |
210 | NSLog(@"Userinfo %@",notification.request.content.userInfo);
211 |
212 | [UIApplication sharedApplication].applicationIconBadgeNumber = 0;
213 |
214 | completionHandler(UNNotificationPresentationOptionAlert);
215 | }
216 |
217 |
218 |
219 |
220 | -(void)removeNotifications{
221 | [center removeAllDeliveredNotifications];
222 | [center removeAllPendingNotificationRequests];
223 | }
224 |
225 |
226 | -(void) application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void(^)(UIBackgroundFetchResult))completionHandler {
227 |
228 | NSLog(@"info: %@", userInfo);
229 |
230 | if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0) {
231 |
232 | }
233 |
234 |
235 | if( [UIApplication sharedApplication].applicationState == UIApplicationStateInactive )
236 | {
237 | NSLog( @"INACTIVE" );
238 | completionHandler( UIBackgroundFetchResultNewData );
239 | }
240 | else if( [UIApplication sharedApplication].applicationState == UIApplicationStateBackground )
241 | {
242 | NSLog( @"BACKGROUND" );
243 | completionHandler( UIBackgroundFetchResultNewData );
244 | }
245 | else
246 | {
247 | NSLog( @"FOREGROUND" );
248 | completionHandler( UIBackgroundFetchResultNewData );
249 | }
250 |
251 | }
252 |
253 |
254 | // for Actionable push notification
255 |
256 | -(void)registerForActionablePushNotification{
257 |
258 | UIMutableUserNotificationAction *firstAction = [[UIMutableUserNotificationAction alloc] init];
259 | [firstAction setActivationMode:UIUserNotificationActivationModeBackground];
260 | [firstAction setTitle:@"First Action"];
261 | [firstAction setIdentifier: pushNotificationFirstActionIdent];
262 | [firstAction setDestructive:NO];
263 | [firstAction setAuthenticationRequired:NO];
264 |
265 | UIMutableUserNotificationAction *secondAction = [[UIMutableUserNotificationAction alloc] init];
266 | [secondAction setActivationMode:UIUserNotificationActivationModeBackground];
267 | [secondAction setTitle:@"Second Action"];
268 | [secondAction setIdentifier: pushNotificationSecondActionIdent];
269 | [secondAction setAuthenticationRequired:NO];
270 |
271 | UIMutableUserNotificationCategory *pushNotificationCategory = [[UIMutableUserNotificationCategory alloc] init];
272 | [pushNotificationCategory setIdentifier:pushNotificationCategoryIdent];
273 | [pushNotificationCategory setActions: @[firstAction, secondAction] forContext:UIUserNotificationActionContextDefault];
274 |
275 | NSSet *pushNotficationCategories = [NSSet setWithObject:pushNotificationCategory];
276 | UIUserNotificationType types = (UIUserNotificationTypeSound| UIUserNotificationTypeAlert| UIUserNotificationTypeBadge);
277 |
278 | UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:types categories:pushNotficationCategories];
279 |
280 | [[UIApplication sharedApplication] registerUserNotificationSettings:settings];
281 | }
282 |
283 | - (void)application:(UIApplication *)application handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo completionHandler:(void(^)())completionHandler{
284 |
285 | if ([identifier isEqualToString:pushNotificationFirstActionIdent]) {
286 |
287 | NSLog(@"Action 1");
288 |
289 | }else if ([identifier isEqualToString:pushNotificationSecondActionIdent]){
290 |
291 | NSLog(@"Action 2");
292 |
293 | }
294 |
295 | if (completionHandler) {
296 | completionHandler();
297 | }
298 |
299 | }
300 |
301 |
302 | - (void)applicationWillResignActive:(UIApplication *)application {
303 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
304 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
305 | }
306 |
307 |
308 | - (void)applicationDidEnterBackground:(UIApplication *)application {
309 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
310 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
311 | }
312 |
313 |
314 | - (void)applicationWillEnterForeground:(UIApplication *)application {
315 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
316 |
317 |
318 | application.applicationIconBadgeNumber = 0;
319 |
320 | }
321 |
322 |
323 | - (void)applicationDidBecomeActive:(UIApplication *)application {
324 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
325 | }
326 |
327 |
328 | - (void)applicationWillTerminate:(UIApplication *)application {
329 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
330 |
331 |
332 |
333 | }
334 |
335 | +(AppDelegate *)delegate{
336 | return (AppDelegate *)[[UIApplication sharedApplication] delegate];
337 | }
338 |
339 | @end
340 |
--------------------------------------------------------------------------------
/Push/Assets.xcassets/AppIcon-demo.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "1x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "2x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "29x29",
26 | "scale" : "3x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "2x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "40x40",
36 | "scale" : "3x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "57x57",
41 | "scale" : "1x"
42 | },
43 | {
44 | "idiom" : "iphone",
45 | "size" : "57x57",
46 | "scale" : "2x"
47 | },
48 | {
49 | "idiom" : "iphone",
50 | "size" : "60x60",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "iphone",
55 | "size" : "60x60",
56 | "scale" : "3x"
57 | }
58 | ],
59 | "info" : {
60 | "version" : 1,
61 | "author" : "xcode"
62 | }
63 | }
--------------------------------------------------------------------------------
/Push/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | }
43 | ],
44 | "info" : {
45 | "version" : 1,
46 | "author" : "xcode"
47 | }
48 | }
--------------------------------------------------------------------------------
/Push/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Push/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Push/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/Push/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | RichNotification
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | NSAppTransportSecurity
26 |
27 | NSAllowsArbitraryLoads
28 |
29 |
30 | UIBackgroundModes
31 |
32 | remote-notification
33 |
34 | UILaunchStoryboardName
35 | LaunchScreen
36 | UIMainStoryboardFile
37 | Main
38 | UIRequiredDeviceCapabilities
39 |
40 | armv7
41 |
42 | UISupportedInterfaceOrientations
43 |
44 | UIInterfaceOrientationPortrait
45 | UIInterfaceOrientationLandscapeLeft
46 | UIInterfaceOrientationLandscapeRight
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/Push/Push.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | aps-environment
6 | development
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Push/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // Push
4 | //
5 | // Created by gh on 5/10/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | @interface ViewController : UIViewController
13 |
14 |
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/Push/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // Push
4 | //
5 | // Created by gh on 5/10/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 |
11 | @interface ViewController ()
12 |
13 | @end
14 |
15 | @implementation ViewController
16 |
17 | - (void)viewDidLoad {
18 | [super viewDidLoad];
19 | // Do any additional setup after loading the view, typically from a nib.
20 |
21 | globalVariable = @"use and change value where you want. It's really fascinating";
22 |
23 | }
24 |
25 |
26 | - (void)didReceiveMemoryWarning {
27 | [super didReceiveMemoryWarning];
28 | // Dispose of any resources that can be recreated.
29 |
30 | }
31 |
32 | -(IBAction)actionBtnTaaped:(id)sender{
33 |
34 | UIButton *btn = (UIButton *)sender;
35 | NSInteger tag = [btn tag];
36 |
37 | switch (tag) {
38 | case 0:
39 | [[AppDelegate delegate] initialseTimerNotificationData];
40 | break;
41 |
42 | default:
43 | break;
44 | }
45 |
46 | }
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/Push/Widget/NumberWidget/Base.lproj/MainInterface.storyboard:
--------------------------------------------------------------------------------
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 |
31 |
40 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/Push/Widget/NumberWidget/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | NumberWidget
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | XPC!
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | NSExtension
24 |
25 | NSExtensionMainStoryboard
26 | MainInterface
27 | NSExtensionPointIdentifier
28 | com.apple.widget-extension
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/Push/Widget/NumberWidget/NumberWidget.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.application-groups
6 |
7 | group.Guesthouser.w
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Push/Widget/NumberWidget/TodayViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // TodayViewController.h
3 | // NumberWidget
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface TodayViewController : UIViewController
12 |
13 | -(IBAction)open:(id)sender;
14 | @end
15 |
--------------------------------------------------------------------------------
/Push/Widget/NumberWidget/TodayViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // TodayViewController.m
3 | // NumberWidget
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import "TodayViewController.h"
10 | #import
11 |
12 | @interface TodayViewController ()
13 |
14 | @property (retain, nonatomic) IBOutlet UILabel *numberLabel;
15 | -(IBAction)actionTapped:(id)sender;
16 | @end
17 |
18 | @implementation TodayViewController
19 |
20 | - (id)initWithCoder:(NSCoder *)aDecoder {
21 | if (self = [super initWithCoder:aDecoder]) {
22 | [[NSNotificationCenter defaultCenter] addObserver:self
23 | selector:@selector(userDefaultsDidChange:)
24 | name:NSUserDefaultsDidChangeNotification
25 | object:nil];
26 | }
27 | return self;
28 | }
29 |
30 | - (void)viewDidLoad {
31 | [super viewDidLoad];
32 | [[NSNotificationCenter defaultCenter] addObserver:self
33 | selector:@selector(userDefaultsDidChange:)
34 | name:NSUserDefaultsDidChangeNotification
35 | object:nil];
36 | [self updateNumberLabelText];
37 | // Do any additional setup after loading the view from its nib.
38 | }
39 |
40 |
41 | -(void)dealloc{
42 |
43 |
44 | }
45 |
46 | - (void)didReceiveMemoryWarning {
47 | [super didReceiveMemoryWarning];
48 | // Dispose of any resources that can be recreated.
49 | }
50 |
51 | - (void)widgetPerformUpdateWithCompletionHandler:(void (^)(NCUpdateResult))completionHandler {
52 | // Perform any setup necessary in order to update the view.
53 |
54 | // If an error is encountered, use NCUpdateResultFailed
55 | // If there's no update required, use NCUpdateResultNoData
56 | // If there's an update, use NCUpdateResultNewData
57 |
58 | // self.numberLabel.text = [NSString stringWithFormat:@"%@", @49];
59 |
60 | self.preferredContentSize = CGSizeMake(320, 170);
61 | completionHandler(NCUpdateResultNewData);
62 | }
63 |
64 | -(void)viewWillAppear:(BOOL)animated{
65 |
66 | }
67 |
68 | -(void)viewDidAppear:(BOOL)animated{
69 |
70 | }
71 | - (void)userDefaultsDidChange:(NSNotification *)notification {
72 | [self updateNumberLabelText];
73 | }
74 |
75 | - (void)updateNumberLabelText {
76 | NSUserDefaults *defaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.Guesthouser.w"];
77 | NSInteger number = [defaults integerForKey:@"sharedInteger"];
78 | self.numberLabel.text = [NSString stringWithFormat:@"%ld", (long)number];
79 | }
80 |
81 | -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
82 | self.numberLabel.text = [NSString stringWithFormat:@"%@", @29];
83 |
84 | NSLog(@"touch");
85 | }
86 |
87 |
88 | -(IBAction)open:(id)sender{
89 |
90 | NSURL *url = [NSURL URLWithString:@"w:"];
91 |
92 | [self.extensionContext openURL:url completionHandler:^(BOOL success) {
93 |
94 |
95 |
96 | }];
97 | }
98 |
99 | @end
100 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | FB1E11851DD326D1002CE887 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = FB1E11841DD326D1002CE887 /* main.m */; };
11 | FB1E11881DD326D1002CE887 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = FB1E11871DD326D1002CE887 /* AppDelegate.m */; };
12 | FB1E118B1DD326D1002CE887 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FB1E118A1DD326D1002CE887 /* ViewController.m */; };
13 | FB1E118E1DD326D1002CE887 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FB1E118C1DD326D1002CE887 /* Main.storyboard */; };
14 | FB1E11901DD326D1002CE887 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FB1E118F1DD326D1002CE887 /* Assets.xcassets */; };
15 | FB1E11931DD326D1002CE887 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FB1E11911DD326D1002CE887 /* LaunchScreen.storyboard */; };
16 | FB1E119E1DD326D1002CE887 /* WTests.m in Sources */ = {isa = PBXBuildFile; fileRef = FB1E119D1DD326D1002CE887 /* WTests.m */; };
17 | FB1E11A91DD326D1002CE887 /* WUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = FB1E11A81DD326D1002CE887 /* WUITests.m */; };
18 | FB1E11BD1DD327D6002CE887 /* NotificationCenter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FB1E11BC1DD327D6002CE887 /* NotificationCenter.framework */; };
19 | FB1E11C11DD327D6002CE887 /* TodayViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FB1E11C01DD327D6002CE887 /* TodayViewController.m */; };
20 | FB1E11C41DD327D6002CE887 /* MainInterface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FB1E11C21DD327D6002CE887 /* MainInterface.storyboard */; };
21 | FB1E11C81DD327D6002CE887 /* NumberWidget.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = FB1E11BA1DD327D5002CE887 /* NumberWidget.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXContainerItemProxy section */
25 | FB1E119A1DD326D1002CE887 /* PBXContainerItemProxy */ = {
26 | isa = PBXContainerItemProxy;
27 | containerPortal = FB1E11781DD326D1002CE887 /* Project object */;
28 | proxyType = 1;
29 | remoteGlobalIDString = FB1E117F1DD326D1002CE887;
30 | remoteInfo = W;
31 | };
32 | FB1E11A51DD326D1002CE887 /* PBXContainerItemProxy */ = {
33 | isa = PBXContainerItemProxy;
34 | containerPortal = FB1E11781DD326D1002CE887 /* Project object */;
35 | proxyType = 1;
36 | remoteGlobalIDString = FB1E117F1DD326D1002CE887;
37 | remoteInfo = W;
38 | };
39 | FB1E11C61DD327D6002CE887 /* PBXContainerItemProxy */ = {
40 | isa = PBXContainerItemProxy;
41 | containerPortal = FB1E11781DD326D1002CE887 /* Project object */;
42 | proxyType = 1;
43 | remoteGlobalIDString = FB1E11B91DD327D5002CE887;
44 | remoteInfo = NumberWidget;
45 | };
46 | /* End PBXContainerItemProxy section */
47 |
48 | /* Begin PBXCopyFilesBuildPhase section */
49 | FB1E11CC1DD327D6002CE887 /* Embed App Extensions */ = {
50 | isa = PBXCopyFilesBuildPhase;
51 | buildActionMask = 2147483647;
52 | dstPath = "";
53 | dstSubfolderSpec = 13;
54 | files = (
55 | FB1E11C81DD327D6002CE887 /* NumberWidget.appex in Embed App Extensions */,
56 | );
57 | name = "Embed App Extensions";
58 | runOnlyForDeploymentPostprocessing = 0;
59 | };
60 | /* End PBXCopyFilesBuildPhase section */
61 |
62 | /* Begin PBXFileReference section */
63 | FB1E11801DD326D1002CE887 /* W.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = W.app; sourceTree = BUILT_PRODUCTS_DIR; };
64 | FB1E11841DD326D1002CE887 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
65 | FB1E11861DD326D1002CE887 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
66 | FB1E11871DD326D1002CE887 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
67 | FB1E11891DD326D1002CE887 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
68 | FB1E118A1DD326D1002CE887 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
69 | FB1E118D1DD326D1002CE887 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
70 | FB1E118F1DD326D1002CE887 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
71 | FB1E11921DD326D1002CE887 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
72 | FB1E11941DD326D1002CE887 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
73 | FB1E11991DD326D1002CE887 /* WTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
74 | FB1E119D1DD326D1002CE887 /* WTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WTests.m; sourceTree = ""; };
75 | FB1E119F1DD326D1002CE887 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
76 | FB1E11A41DD326D1002CE887 /* WUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
77 | FB1E11A81DD326D1002CE887 /* WUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WUITests.m; sourceTree = ""; };
78 | FB1E11AA1DD326D1002CE887 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
79 | FB1E11BA1DD327D5002CE887 /* NumberWidget.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NumberWidget.appex; sourceTree = BUILT_PRODUCTS_DIR; };
80 | FB1E11BC1DD327D6002CE887 /* NotificationCenter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = NotificationCenter.framework; path = System/Library/Frameworks/NotificationCenter.framework; sourceTree = SDKROOT; };
81 | FB1E11BF1DD327D6002CE887 /* TodayViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TodayViewController.h; sourceTree = ""; };
82 | FB1E11C01DD327D6002CE887 /* TodayViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TodayViewController.m; sourceTree = ""; };
83 | FB1E11C31DD327D6002CE887 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainInterface.storyboard; sourceTree = ""; };
84 | FB1E11C51DD327D6002CE887 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
85 | FB1E11CD1DD33053002CE887 /* W.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = W.entitlements; sourceTree = ""; };
86 | FB1E11CE1DD3316D002CE887 /* NumberWidget.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NumberWidget.entitlements; sourceTree = ""; };
87 | /* End PBXFileReference section */
88 |
89 | /* Begin PBXFrameworksBuildPhase section */
90 | FB1E117D1DD326D1002CE887 /* Frameworks */ = {
91 | isa = PBXFrameworksBuildPhase;
92 | buildActionMask = 2147483647;
93 | files = (
94 | );
95 | runOnlyForDeploymentPostprocessing = 0;
96 | };
97 | FB1E11961DD326D1002CE887 /* Frameworks */ = {
98 | isa = PBXFrameworksBuildPhase;
99 | buildActionMask = 2147483647;
100 | files = (
101 | );
102 | runOnlyForDeploymentPostprocessing = 0;
103 | };
104 | FB1E11A11DD326D1002CE887 /* Frameworks */ = {
105 | isa = PBXFrameworksBuildPhase;
106 | buildActionMask = 2147483647;
107 | files = (
108 | );
109 | runOnlyForDeploymentPostprocessing = 0;
110 | };
111 | FB1E11B71DD327D5002CE887 /* Frameworks */ = {
112 | isa = PBXFrameworksBuildPhase;
113 | buildActionMask = 2147483647;
114 | files = (
115 | FB1E11BD1DD327D6002CE887 /* NotificationCenter.framework in Frameworks */,
116 | );
117 | runOnlyForDeploymentPostprocessing = 0;
118 | };
119 | /* End PBXFrameworksBuildPhase section */
120 |
121 | /* Begin PBXGroup section */
122 | FB1E11771DD326D1002CE887 = {
123 | isa = PBXGroup;
124 | children = (
125 | FB1E11821DD326D1002CE887 /* W */,
126 | FB1E119C1DD326D1002CE887 /* WTests */,
127 | FB1E11A71DD326D1002CE887 /* WUITests */,
128 | FB1E11BE1DD327D6002CE887 /* NumberWidget */,
129 | FB1E11BB1DD327D6002CE887 /* Frameworks */,
130 | FB1E11811DD326D1002CE887 /* Products */,
131 | );
132 | sourceTree = "";
133 | };
134 | FB1E11811DD326D1002CE887 /* Products */ = {
135 | isa = PBXGroup;
136 | children = (
137 | FB1E11801DD326D1002CE887 /* W.app */,
138 | FB1E11991DD326D1002CE887 /* WTests.xctest */,
139 | FB1E11A41DD326D1002CE887 /* WUITests.xctest */,
140 | FB1E11BA1DD327D5002CE887 /* NumberWidget.appex */,
141 | );
142 | name = Products;
143 | sourceTree = "";
144 | };
145 | FB1E11821DD326D1002CE887 /* W */ = {
146 | isa = PBXGroup;
147 | children = (
148 | FB1E11CD1DD33053002CE887 /* W.entitlements */,
149 | FB1E11861DD326D1002CE887 /* AppDelegate.h */,
150 | FB1E11871DD326D1002CE887 /* AppDelegate.m */,
151 | FB1E11891DD326D1002CE887 /* ViewController.h */,
152 | FB1E118A1DD326D1002CE887 /* ViewController.m */,
153 | FB1E118C1DD326D1002CE887 /* Main.storyboard */,
154 | FB1E118F1DD326D1002CE887 /* Assets.xcassets */,
155 | FB1E11911DD326D1002CE887 /* LaunchScreen.storyboard */,
156 | FB1E11941DD326D1002CE887 /* Info.plist */,
157 | FB1E11831DD326D1002CE887 /* Supporting Files */,
158 | );
159 | path = W;
160 | sourceTree = "";
161 | };
162 | FB1E11831DD326D1002CE887 /* Supporting Files */ = {
163 | isa = PBXGroup;
164 | children = (
165 | FB1E11841DD326D1002CE887 /* main.m */,
166 | );
167 | name = "Supporting Files";
168 | sourceTree = "";
169 | };
170 | FB1E119C1DD326D1002CE887 /* WTests */ = {
171 | isa = PBXGroup;
172 | children = (
173 | FB1E119D1DD326D1002CE887 /* WTests.m */,
174 | FB1E119F1DD326D1002CE887 /* Info.plist */,
175 | );
176 | path = WTests;
177 | sourceTree = "";
178 | };
179 | FB1E11A71DD326D1002CE887 /* WUITests */ = {
180 | isa = PBXGroup;
181 | children = (
182 | FB1E11A81DD326D1002CE887 /* WUITests.m */,
183 | FB1E11AA1DD326D1002CE887 /* Info.plist */,
184 | );
185 | path = WUITests;
186 | sourceTree = "";
187 | };
188 | FB1E11BB1DD327D6002CE887 /* Frameworks */ = {
189 | isa = PBXGroup;
190 | children = (
191 | FB1E11BC1DD327D6002CE887 /* NotificationCenter.framework */,
192 | );
193 | name = Frameworks;
194 | sourceTree = "";
195 | };
196 | FB1E11BE1DD327D6002CE887 /* NumberWidget */ = {
197 | isa = PBXGroup;
198 | children = (
199 | FB1E11CE1DD3316D002CE887 /* NumberWidget.entitlements */,
200 | FB1E11BF1DD327D6002CE887 /* TodayViewController.h */,
201 | FB1E11C01DD327D6002CE887 /* TodayViewController.m */,
202 | FB1E11C21DD327D6002CE887 /* MainInterface.storyboard */,
203 | FB1E11C51DD327D6002CE887 /* Info.plist */,
204 | );
205 | path = NumberWidget;
206 | sourceTree = "";
207 | };
208 | /* End PBXGroup section */
209 |
210 | /* Begin PBXNativeTarget section */
211 | FB1E117F1DD326D1002CE887 /* W */ = {
212 | isa = PBXNativeTarget;
213 | buildConfigurationList = FB1E11AD1DD326D1002CE887 /* Build configuration list for PBXNativeTarget "W" */;
214 | buildPhases = (
215 | FB1E117C1DD326D1002CE887 /* Sources */,
216 | FB1E117D1DD326D1002CE887 /* Frameworks */,
217 | FB1E117E1DD326D1002CE887 /* Resources */,
218 | FB1E11CC1DD327D6002CE887 /* Embed App Extensions */,
219 | );
220 | buildRules = (
221 | );
222 | dependencies = (
223 | FB1E11C71DD327D6002CE887 /* PBXTargetDependency */,
224 | );
225 | name = W;
226 | productName = W;
227 | productReference = FB1E11801DD326D1002CE887 /* W.app */;
228 | productType = "com.apple.product-type.application";
229 | };
230 | FB1E11981DD326D1002CE887 /* WTests */ = {
231 | isa = PBXNativeTarget;
232 | buildConfigurationList = FB1E11B01DD326D1002CE887 /* Build configuration list for PBXNativeTarget "WTests" */;
233 | buildPhases = (
234 | FB1E11951DD326D1002CE887 /* Sources */,
235 | FB1E11961DD326D1002CE887 /* Frameworks */,
236 | FB1E11971DD326D1002CE887 /* Resources */,
237 | );
238 | buildRules = (
239 | );
240 | dependencies = (
241 | FB1E119B1DD326D1002CE887 /* PBXTargetDependency */,
242 | );
243 | name = WTests;
244 | productName = WTests;
245 | productReference = FB1E11991DD326D1002CE887 /* WTests.xctest */;
246 | productType = "com.apple.product-type.bundle.unit-test";
247 | };
248 | FB1E11A31DD326D1002CE887 /* WUITests */ = {
249 | isa = PBXNativeTarget;
250 | buildConfigurationList = FB1E11B31DD326D1002CE887 /* Build configuration list for PBXNativeTarget "WUITests" */;
251 | buildPhases = (
252 | FB1E11A01DD326D1002CE887 /* Sources */,
253 | FB1E11A11DD326D1002CE887 /* Frameworks */,
254 | FB1E11A21DD326D1002CE887 /* Resources */,
255 | );
256 | buildRules = (
257 | );
258 | dependencies = (
259 | FB1E11A61DD326D1002CE887 /* PBXTargetDependency */,
260 | );
261 | name = WUITests;
262 | productName = WUITests;
263 | productReference = FB1E11A41DD326D1002CE887 /* WUITests.xctest */;
264 | productType = "com.apple.product-type.bundle.ui-testing";
265 | };
266 | FB1E11B91DD327D5002CE887 /* NumberWidget */ = {
267 | isa = PBXNativeTarget;
268 | buildConfigurationList = FB1E11C91DD327D6002CE887 /* Build configuration list for PBXNativeTarget "NumberWidget" */;
269 | buildPhases = (
270 | FB1E11B61DD327D5002CE887 /* Sources */,
271 | FB1E11B71DD327D5002CE887 /* Frameworks */,
272 | FB1E11B81DD327D5002CE887 /* Resources */,
273 | );
274 | buildRules = (
275 | );
276 | dependencies = (
277 | );
278 | name = NumberWidget;
279 | productName = NumberWidget;
280 | productReference = FB1E11BA1DD327D5002CE887 /* NumberWidget.appex */;
281 | productType = "com.apple.product-type.app-extension";
282 | };
283 | /* End PBXNativeTarget section */
284 |
285 | /* Begin PBXProject section */
286 | FB1E11781DD326D1002CE887 /* Project object */ = {
287 | isa = PBXProject;
288 | attributes = {
289 | LastUpgradeCheck = 0810;
290 | ORGANIZATIONNAME = "Avish Manocha";
291 | TargetAttributes = {
292 | FB1E117F1DD326D1002CE887 = {
293 | CreatedOnToolsVersion = 8.1;
294 | DevelopmentTeam = R26BPY33GG;
295 | ProvisioningStyle = Automatic;
296 | SystemCapabilities = {
297 | com.apple.ApplicationGroups.iOS = {
298 | enabled = 1;
299 | };
300 | };
301 | };
302 | FB1E11981DD326D1002CE887 = {
303 | CreatedOnToolsVersion = 8.1;
304 | ProvisioningStyle = Automatic;
305 | TestTargetID = FB1E117F1DD326D1002CE887;
306 | };
307 | FB1E11A31DD326D1002CE887 = {
308 | CreatedOnToolsVersion = 8.1;
309 | ProvisioningStyle = Automatic;
310 | TestTargetID = FB1E117F1DD326D1002CE887;
311 | };
312 | FB1E11B91DD327D5002CE887 = {
313 | CreatedOnToolsVersion = 8.1;
314 | DevelopmentTeam = R26BPY33GG;
315 | ProvisioningStyle = Automatic;
316 | SystemCapabilities = {
317 | com.apple.ApplicationGroups.iOS = {
318 | enabled = 1;
319 | };
320 | };
321 | };
322 | };
323 | };
324 | buildConfigurationList = FB1E117B1DD326D1002CE887 /* Build configuration list for PBXProject "W" */;
325 | compatibilityVersion = "Xcode 3.2";
326 | developmentRegion = English;
327 | hasScannedForEncodings = 0;
328 | knownRegions = (
329 | en,
330 | Base,
331 | );
332 | mainGroup = FB1E11771DD326D1002CE887;
333 | productRefGroup = FB1E11811DD326D1002CE887 /* Products */;
334 | projectDirPath = "";
335 | projectRoot = "";
336 | targets = (
337 | FB1E117F1DD326D1002CE887 /* W */,
338 | FB1E11981DD326D1002CE887 /* WTests */,
339 | FB1E11A31DD326D1002CE887 /* WUITests */,
340 | FB1E11B91DD327D5002CE887 /* NumberWidget */,
341 | );
342 | };
343 | /* End PBXProject section */
344 |
345 | /* Begin PBXResourcesBuildPhase section */
346 | FB1E117E1DD326D1002CE887 /* Resources */ = {
347 | isa = PBXResourcesBuildPhase;
348 | buildActionMask = 2147483647;
349 | files = (
350 | FB1E11931DD326D1002CE887 /* LaunchScreen.storyboard in Resources */,
351 | FB1E11901DD326D1002CE887 /* Assets.xcassets in Resources */,
352 | FB1E118E1DD326D1002CE887 /* Main.storyboard in Resources */,
353 | );
354 | runOnlyForDeploymentPostprocessing = 0;
355 | };
356 | FB1E11971DD326D1002CE887 /* Resources */ = {
357 | isa = PBXResourcesBuildPhase;
358 | buildActionMask = 2147483647;
359 | files = (
360 | );
361 | runOnlyForDeploymentPostprocessing = 0;
362 | };
363 | FB1E11A21DD326D1002CE887 /* Resources */ = {
364 | isa = PBXResourcesBuildPhase;
365 | buildActionMask = 2147483647;
366 | files = (
367 | );
368 | runOnlyForDeploymentPostprocessing = 0;
369 | };
370 | FB1E11B81DD327D5002CE887 /* Resources */ = {
371 | isa = PBXResourcesBuildPhase;
372 | buildActionMask = 2147483647;
373 | files = (
374 | FB1E11C41DD327D6002CE887 /* MainInterface.storyboard in Resources */,
375 | );
376 | runOnlyForDeploymentPostprocessing = 0;
377 | };
378 | /* End PBXResourcesBuildPhase section */
379 |
380 | /* Begin PBXSourcesBuildPhase section */
381 | FB1E117C1DD326D1002CE887 /* Sources */ = {
382 | isa = PBXSourcesBuildPhase;
383 | buildActionMask = 2147483647;
384 | files = (
385 | FB1E118B1DD326D1002CE887 /* ViewController.m in Sources */,
386 | FB1E11881DD326D1002CE887 /* AppDelegate.m in Sources */,
387 | FB1E11851DD326D1002CE887 /* main.m in Sources */,
388 | );
389 | runOnlyForDeploymentPostprocessing = 0;
390 | };
391 | FB1E11951DD326D1002CE887 /* Sources */ = {
392 | isa = PBXSourcesBuildPhase;
393 | buildActionMask = 2147483647;
394 | files = (
395 | FB1E119E1DD326D1002CE887 /* WTests.m in Sources */,
396 | );
397 | runOnlyForDeploymentPostprocessing = 0;
398 | };
399 | FB1E11A01DD326D1002CE887 /* Sources */ = {
400 | isa = PBXSourcesBuildPhase;
401 | buildActionMask = 2147483647;
402 | files = (
403 | FB1E11A91DD326D1002CE887 /* WUITests.m in Sources */,
404 | );
405 | runOnlyForDeploymentPostprocessing = 0;
406 | };
407 | FB1E11B61DD327D5002CE887 /* Sources */ = {
408 | isa = PBXSourcesBuildPhase;
409 | buildActionMask = 2147483647;
410 | files = (
411 | FB1E11C11DD327D6002CE887 /* TodayViewController.m in Sources */,
412 | );
413 | runOnlyForDeploymentPostprocessing = 0;
414 | };
415 | /* End PBXSourcesBuildPhase section */
416 |
417 | /* Begin PBXTargetDependency section */
418 | FB1E119B1DD326D1002CE887 /* PBXTargetDependency */ = {
419 | isa = PBXTargetDependency;
420 | target = FB1E117F1DD326D1002CE887 /* W */;
421 | targetProxy = FB1E119A1DD326D1002CE887 /* PBXContainerItemProxy */;
422 | };
423 | FB1E11A61DD326D1002CE887 /* PBXTargetDependency */ = {
424 | isa = PBXTargetDependency;
425 | target = FB1E117F1DD326D1002CE887 /* W */;
426 | targetProxy = FB1E11A51DD326D1002CE887 /* PBXContainerItemProxy */;
427 | };
428 | FB1E11C71DD327D6002CE887 /* PBXTargetDependency */ = {
429 | isa = PBXTargetDependency;
430 | target = FB1E11B91DD327D5002CE887 /* NumberWidget */;
431 | targetProxy = FB1E11C61DD327D6002CE887 /* PBXContainerItemProxy */;
432 | };
433 | /* End PBXTargetDependency section */
434 |
435 | /* Begin PBXVariantGroup section */
436 | FB1E118C1DD326D1002CE887 /* Main.storyboard */ = {
437 | isa = PBXVariantGroup;
438 | children = (
439 | FB1E118D1DD326D1002CE887 /* Base */,
440 | );
441 | name = Main.storyboard;
442 | sourceTree = "";
443 | };
444 | FB1E11911DD326D1002CE887 /* LaunchScreen.storyboard */ = {
445 | isa = PBXVariantGroup;
446 | children = (
447 | FB1E11921DD326D1002CE887 /* Base */,
448 | );
449 | name = LaunchScreen.storyboard;
450 | sourceTree = "";
451 | };
452 | FB1E11C21DD327D6002CE887 /* MainInterface.storyboard */ = {
453 | isa = PBXVariantGroup;
454 | children = (
455 | FB1E11C31DD327D6002CE887 /* Base */,
456 | );
457 | name = MainInterface.storyboard;
458 | sourceTree = "";
459 | };
460 | /* End PBXVariantGroup section */
461 |
462 | /* Begin XCBuildConfiguration section */
463 | FB1E11AB1DD326D1002CE887 /* Debug */ = {
464 | isa = XCBuildConfiguration;
465 | buildSettings = {
466 | ALWAYS_SEARCH_USER_PATHS = NO;
467 | CLANG_ANALYZER_NONNULL = YES;
468 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
469 | CLANG_CXX_LIBRARY = "libc++";
470 | CLANG_ENABLE_MODULES = YES;
471 | CLANG_ENABLE_OBJC_ARC = YES;
472 | CLANG_WARN_BOOL_CONVERSION = YES;
473 | CLANG_WARN_CONSTANT_CONVERSION = YES;
474 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
475 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
476 | CLANG_WARN_EMPTY_BODY = YES;
477 | CLANG_WARN_ENUM_CONVERSION = YES;
478 | CLANG_WARN_INFINITE_RECURSION = YES;
479 | CLANG_WARN_INT_CONVERSION = YES;
480 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
481 | CLANG_WARN_SUSPICIOUS_MOVES = YES;
482 | CLANG_WARN_UNREACHABLE_CODE = YES;
483 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
484 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
485 | COPY_PHASE_STRIP = NO;
486 | DEBUG_INFORMATION_FORMAT = dwarf;
487 | ENABLE_STRICT_OBJC_MSGSEND = YES;
488 | ENABLE_TESTABILITY = YES;
489 | GCC_C_LANGUAGE_STANDARD = gnu99;
490 | GCC_DYNAMIC_NO_PIC = NO;
491 | GCC_NO_COMMON_BLOCKS = YES;
492 | GCC_OPTIMIZATION_LEVEL = 0;
493 | GCC_PREPROCESSOR_DEFINITIONS = (
494 | "DEBUG=1",
495 | "$(inherited)",
496 | );
497 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
498 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
499 | GCC_WARN_UNDECLARED_SELECTOR = YES;
500 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
501 | GCC_WARN_UNUSED_FUNCTION = YES;
502 | GCC_WARN_UNUSED_VARIABLE = YES;
503 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
504 | MTL_ENABLE_DEBUG_INFO = YES;
505 | ONLY_ACTIVE_ARCH = YES;
506 | SDKROOT = iphoneos;
507 | TARGETED_DEVICE_FAMILY = "1,2";
508 | };
509 | name = Debug;
510 | };
511 | FB1E11AC1DD326D1002CE887 /* Release */ = {
512 | isa = XCBuildConfiguration;
513 | buildSettings = {
514 | ALWAYS_SEARCH_USER_PATHS = NO;
515 | CLANG_ANALYZER_NONNULL = YES;
516 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
517 | CLANG_CXX_LIBRARY = "libc++";
518 | CLANG_ENABLE_MODULES = YES;
519 | CLANG_ENABLE_OBJC_ARC = YES;
520 | CLANG_WARN_BOOL_CONVERSION = YES;
521 | CLANG_WARN_CONSTANT_CONVERSION = YES;
522 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
523 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
524 | CLANG_WARN_EMPTY_BODY = YES;
525 | CLANG_WARN_ENUM_CONVERSION = YES;
526 | CLANG_WARN_INFINITE_RECURSION = YES;
527 | CLANG_WARN_INT_CONVERSION = YES;
528 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
529 | CLANG_WARN_SUSPICIOUS_MOVES = YES;
530 | CLANG_WARN_UNREACHABLE_CODE = YES;
531 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
532 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
533 | COPY_PHASE_STRIP = NO;
534 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
535 | ENABLE_NS_ASSERTIONS = NO;
536 | ENABLE_STRICT_OBJC_MSGSEND = YES;
537 | GCC_C_LANGUAGE_STANDARD = gnu99;
538 | GCC_NO_COMMON_BLOCKS = YES;
539 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
540 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
541 | GCC_WARN_UNDECLARED_SELECTOR = YES;
542 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
543 | GCC_WARN_UNUSED_FUNCTION = YES;
544 | GCC_WARN_UNUSED_VARIABLE = YES;
545 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
546 | MTL_ENABLE_DEBUG_INFO = NO;
547 | SDKROOT = iphoneos;
548 | TARGETED_DEVICE_FAMILY = "1,2";
549 | VALIDATE_PRODUCT = YES;
550 | };
551 | name = Release;
552 | };
553 | FB1E11AE1DD326D1002CE887 /* Debug */ = {
554 | isa = XCBuildConfiguration;
555 | buildSettings = {
556 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
557 | CODE_SIGN_ENTITLEMENTS = W/W.entitlements;
558 | DEVELOPMENT_TEAM = R26BPY33GG;
559 | INFOPLIST_FILE = W/Info.plist;
560 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
561 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
562 | PRODUCT_BUNDLE_IDENTIFIER = Slack.W;
563 | PRODUCT_NAME = "$(TARGET_NAME)";
564 | };
565 | name = Debug;
566 | };
567 | FB1E11AF1DD326D1002CE887 /* Release */ = {
568 | isa = XCBuildConfiguration;
569 | buildSettings = {
570 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
571 | CODE_SIGN_ENTITLEMENTS = W/W.entitlements;
572 | DEVELOPMENT_TEAM = R26BPY33GG;
573 | INFOPLIST_FILE = W/Info.plist;
574 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
575 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
576 | PRODUCT_BUNDLE_IDENTIFIER = Slack.W;
577 | PRODUCT_NAME = "$(TARGET_NAME)";
578 | };
579 | name = Release;
580 | };
581 | FB1E11B11DD326D1002CE887 /* Debug */ = {
582 | isa = XCBuildConfiguration;
583 | buildSettings = {
584 | BUNDLE_LOADER = "$(TEST_HOST)";
585 | INFOPLIST_FILE = WTests/Info.plist;
586 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
587 | PRODUCT_BUNDLE_IDENTIFIER = Slack.WTests;
588 | PRODUCT_NAME = "$(TARGET_NAME)";
589 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/W.app/W";
590 | };
591 | name = Debug;
592 | };
593 | FB1E11B21DD326D1002CE887 /* Release */ = {
594 | isa = XCBuildConfiguration;
595 | buildSettings = {
596 | BUNDLE_LOADER = "$(TEST_HOST)";
597 | INFOPLIST_FILE = WTests/Info.plist;
598 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
599 | PRODUCT_BUNDLE_IDENTIFIER = Slack.WTests;
600 | PRODUCT_NAME = "$(TARGET_NAME)";
601 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/W.app/W";
602 | };
603 | name = Release;
604 | };
605 | FB1E11B41DD326D1002CE887 /* Debug */ = {
606 | isa = XCBuildConfiguration;
607 | buildSettings = {
608 | INFOPLIST_FILE = WUITests/Info.plist;
609 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
610 | PRODUCT_BUNDLE_IDENTIFIER = Slack.WUITests;
611 | PRODUCT_NAME = "$(TARGET_NAME)";
612 | TEST_TARGET_NAME = W;
613 | };
614 | name = Debug;
615 | };
616 | FB1E11B51DD326D1002CE887 /* Release */ = {
617 | isa = XCBuildConfiguration;
618 | buildSettings = {
619 | INFOPLIST_FILE = WUITests/Info.plist;
620 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
621 | PRODUCT_BUNDLE_IDENTIFIER = Slack.WUITests;
622 | PRODUCT_NAME = "$(TARGET_NAME)";
623 | TEST_TARGET_NAME = W;
624 | };
625 | name = Release;
626 | };
627 | FB1E11CA1DD327D6002CE887 /* Debug */ = {
628 | isa = XCBuildConfiguration;
629 | buildSettings = {
630 | CODE_SIGN_ENTITLEMENTS = NumberWidget/NumberWidget.entitlements;
631 | DEVELOPMENT_TEAM = R26BPY33GG;
632 | INFOPLIST_FILE = NumberWidget/Info.plist;
633 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
634 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
635 | PRODUCT_BUNDLE_IDENTIFIER = Slack.W.NumberWidget;
636 | PRODUCT_NAME = "$(TARGET_NAME)";
637 | SKIP_INSTALL = YES;
638 | };
639 | name = Debug;
640 | };
641 | FB1E11CB1DD327D6002CE887 /* Release */ = {
642 | isa = XCBuildConfiguration;
643 | buildSettings = {
644 | CODE_SIGN_ENTITLEMENTS = NumberWidget/NumberWidget.entitlements;
645 | DEVELOPMENT_TEAM = R26BPY33GG;
646 | INFOPLIST_FILE = NumberWidget/Info.plist;
647 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
648 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
649 | PRODUCT_BUNDLE_IDENTIFIER = Slack.W.NumberWidget;
650 | PRODUCT_NAME = "$(TARGET_NAME)";
651 | SKIP_INSTALL = YES;
652 | };
653 | name = Release;
654 | };
655 | /* End XCBuildConfiguration section */
656 |
657 | /* Begin XCConfigurationList section */
658 | FB1E117B1DD326D1002CE887 /* Build configuration list for PBXProject "W" */ = {
659 | isa = XCConfigurationList;
660 | buildConfigurations = (
661 | FB1E11AB1DD326D1002CE887 /* Debug */,
662 | FB1E11AC1DD326D1002CE887 /* Release */,
663 | );
664 | defaultConfigurationIsVisible = 0;
665 | defaultConfigurationName = Release;
666 | };
667 | FB1E11AD1DD326D1002CE887 /* Build configuration list for PBXNativeTarget "W" */ = {
668 | isa = XCConfigurationList;
669 | buildConfigurations = (
670 | FB1E11AE1DD326D1002CE887 /* Debug */,
671 | FB1E11AF1DD326D1002CE887 /* Release */,
672 | );
673 | defaultConfigurationIsVisible = 0;
674 | defaultConfigurationName = Release;
675 | };
676 | FB1E11B01DD326D1002CE887 /* Build configuration list for PBXNativeTarget "WTests" */ = {
677 | isa = XCConfigurationList;
678 | buildConfigurations = (
679 | FB1E11B11DD326D1002CE887 /* Debug */,
680 | FB1E11B21DD326D1002CE887 /* Release */,
681 | );
682 | defaultConfigurationIsVisible = 0;
683 | defaultConfigurationName = Release;
684 | };
685 | FB1E11B31DD326D1002CE887 /* Build configuration list for PBXNativeTarget "WUITests" */ = {
686 | isa = XCConfigurationList;
687 | buildConfigurations = (
688 | FB1E11B41DD326D1002CE887 /* Debug */,
689 | FB1E11B51DD326D1002CE887 /* Release */,
690 | );
691 | defaultConfigurationIsVisible = 0;
692 | defaultConfigurationName = Release;
693 | };
694 | FB1E11C91DD327D6002CE887 /* Build configuration list for PBXNativeTarget "NumberWidget" */ = {
695 | isa = XCConfigurationList;
696 | buildConfigurations = (
697 | FB1E11CA1DD327D6002CE887 /* Debug */,
698 | FB1E11CB1DD327D6002CE887 /* Release */,
699 | );
700 | defaultConfigurationIsVisible = 0;
701 | defaultConfigurationName = Release;
702 | };
703 | /* End XCConfigurationList section */
704 | };
705 | rootObject = FB1E11781DD326D1002CE887 /* Project object */;
706 | }
707 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/project.xcworkspace/xcuserdata/Avish.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/avish07/RichNotifications/8a5c388f8b90352cd59b88a5d057c60377c9a60c/Push/Widget/W.xcodeproj/project.xcworkspace/xcuserdata/Avish.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/project.xcworkspace/xcuserdata/gh.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/avish07/RichNotifications/8a5c388f8b90352cd59b88a5d057c60377c9a60c/Push/Widget/W.xcodeproj/project.xcworkspace/xcuserdata/gh.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/Avish.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
20 |
21 |
22 |
24 |
36 |
37 |
38 |
40 |
52 |
53 |
54 |
56 |
68 |
69 |
70 |
72 |
84 |
85 |
86 |
88 |
100 |
101 |
102 |
104 |
116 |
117 |
118 |
120 |
132 |
133 |
134 |
136 |
148 |
149 |
150 |
152 |
164 |
165 |
166 |
168 |
180 |
181 |
182 |
183 |
184 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/Avish.xcuserdatad/xcschemes/NumberWidget.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
6 |
9 |
10 |
16 |
22 |
23 |
24 |
30 |
36 |
37 |
38 |
39 |
40 |
45 |
46 |
47 |
48 |
54 |
55 |
56 |
57 |
58 |
59 |
70 |
72 |
78 |
79 |
80 |
81 |
82 |
83 |
90 |
92 |
98 |
99 |
100 |
101 |
103 |
104 |
107 |
108 |
109 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/Avish.xcuserdatad/xcschemes/W.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
61 |
62 |
63 |
64 |
74 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/Avish.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | NumberWidget.xcscheme
8 |
9 | orderHint
10 | 1
11 |
12 | W.xcscheme
13 |
14 | orderHint
15 | 0
16 |
17 |
18 | SuppressBuildableAutocreation
19 |
20 | FB1E117F1DD326D1002CE887
21 |
22 | primary
23 |
24 |
25 | FB1E11981DD326D1002CE887
26 |
27 | primary
28 |
29 |
30 | FB1E11A31DD326D1002CE887
31 |
32 | primary
33 |
34 |
35 | FB1E11B91DD327D5002CE887
36 |
37 | primary
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/gh.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
20 |
21 |
22 |
24 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/NumberWidget.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
6 |
9 |
10 |
16 |
22 |
23 |
24 |
30 |
36 |
37 |
38 |
39 |
40 |
45 |
46 |
47 |
48 |
54 |
55 |
56 |
57 |
58 |
59 |
70 |
72 |
78 |
79 |
80 |
81 |
82 |
83 |
90 |
92 |
98 |
99 |
100 |
101 |
103 |
104 |
107 |
108 |
109 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/W.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
61 |
62 |
63 |
64 |
74 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/Push/Widget/W.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | NumberWidget.xcscheme
8 |
9 | orderHint
10 | 1
11 |
12 | W.xcscheme
13 |
14 | orderHint
15 | 0
16 |
17 |
18 | SuppressBuildableAutocreation
19 |
20 | FB1E117F1DD326D1002CE887
21 |
22 | primary
23 |
24 |
25 | FB1E11981DD326D1002CE887
26 |
27 | primary
28 |
29 |
30 | FB1E11A31DD326D1002CE887
31 |
32 | primary
33 |
34 |
35 | FB1E11B91DD327D5002CE887
36 |
37 | primary
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Push/Widget/W/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // W
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | extern int isaa;
12 |
13 | @interface AppDelegate : UIResponder
14 |
15 | @property (strong, nonatomic) UIWindow *window;
16 |
17 |
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/Push/Widget/W/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // W
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @interface AppDelegate ()
12 |
13 | @end
14 | int isaa;
15 |
16 | @implementation AppDelegate
17 |
18 |
19 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
20 | // Override point for customization after application launch.
21 | return YES;
22 | }
23 |
24 |
25 | - (void)applicationWillResignActive:(UIApplication *)application {
26 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
27 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
28 | }
29 |
30 |
31 | - (void)applicationDidEnterBackground:(UIApplication *)application {
32 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
33 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
34 | }
35 |
36 |
37 | - (void)applicationWillEnterForeground:(UIApplication *)application {
38 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
39 | }
40 |
41 |
42 | - (void)applicationDidBecomeActive:(UIApplication *)application {
43 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
44 | }
45 |
46 |
47 | - (void)applicationWillTerminate:(UIApplication *)application {
48 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
49 | }
50 |
51 |
52 | -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
53 |
54 |
55 | return YES;
56 | }
57 |
58 | -(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options{
59 |
60 |
61 | isaa = 1;
62 |
63 | return YES;
64 |
65 | }
66 |
67 |
68 | @end
69 |
--------------------------------------------------------------------------------
/Push/Widget/W/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/Push/Widget/W/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/Push/Widget/W/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
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 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/Push/Widget/W/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleURLTypes
10 |
11 |
12 | CFBundleURLName
13 | Slack.W
14 | CFBundleURLSchemes
15 |
16 | W
17 |
18 |
19 |
20 | CFBundleIdentifier
21 | $(PRODUCT_BUNDLE_IDENTIFIER)
22 | CFBundleInfoDictionaryVersion
23 | 6.0
24 | CFBundleName
25 | $(PRODUCT_NAME)
26 | CFBundlePackageType
27 | APPL
28 | CFBundleShortVersionString
29 | 1.0
30 | CFBundleVersion
31 | 1
32 | LSRequiresIPhoneOS
33 |
34 | UILaunchStoryboardName
35 | LaunchScreen
36 | UIMainStoryboardFile
37 | Main
38 | UIRequiredDeviceCapabilities
39 |
40 | armv7
41 |
42 | UISupportedInterfaceOrientations
43 |
44 | UIInterfaceOrientationPortrait
45 | UIInterfaceOrientationLandscapeLeft
46 | UIInterfaceOrientationLandscapeRight
47 |
48 | UISupportedInterfaceOrientations~ipad
49 |
50 | UIInterfaceOrientationPortrait
51 | UIInterfaceOrientationPortraitUpsideDown
52 | UIInterfaceOrientationLandscapeLeft
53 | UIInterfaceOrientationLandscapeRight
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/Push/Widget/W/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // W
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController{
12 | __weak IBOutlet UITextField *tf;
13 | }
14 | -(IBAction)actionBtnTapped:(id)sender;
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/Push/Widget/W/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // W
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 | #import "AppDelegate.h"
11 |
12 | @interface ViewController ()
13 |
14 | @end
15 |
16 | @implementation ViewController
17 |
18 | - (void)viewDidLoad {
19 | [super viewDidLoad];
20 | // Do any additional setup after loading the view, typically from a nib.
21 | if (isaa) {
22 |
23 | }
24 |
25 | }
26 |
27 |
28 | - (void)didReceiveMemoryWarning {
29 | [super didReceiveMemoryWarning];
30 | // Dispose of any resources that can be recreated.
31 | }
32 |
33 | -(IBAction)actionBtnTapped:(id)sender{
34 | NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.Guesthouser.w"];
35 | [userDefaults setInteger:[tf.text integerValue] forKey:@"sharedInteger"];
36 | [userDefaults synchronize];
37 | }
38 | @end
39 |
--------------------------------------------------------------------------------
/Push/Widget/W/W.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.application-groups
6 |
7 | group.Guesthouser.w
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Push/Widget/W/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // W
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Push/Widget/WTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Push/Widget/WTests/WTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // WTests.m
3 | // WTests
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface WTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation WTests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 | // Put setup code here. This method is called before the invocation of each test method in the class.
20 | }
21 |
22 | - (void)tearDown {
23 | // Put teardown code here. This method is called after the invocation of each test method in the class.
24 | [super tearDown];
25 | }
26 |
27 | - (void)testExample {
28 | // This is an example of a functional test case.
29 | // Use XCTAssert and related functions to verify your tests produce the correct results.
30 | }
31 |
32 | - (void)testPerformanceExample {
33 | // This is an example of a performance test case.
34 | [self measureBlock:^{
35 | // Put the code you want to measure the time of here.
36 | }];
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/Push/Widget/WUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Push/Widget/WUITests/WUITests.m:
--------------------------------------------------------------------------------
1 | //
2 | // WUITests.m
3 | // WUITests
4 | //
5 | // Created by Dhruv Sharma on 09/11/16.
6 | // Copyright © 2016 Avish Manocha. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface WUITests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation WUITests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 |
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 |
22 | // In UI tests it is usually best to stop immediately when a failure occurs.
23 | self.continueAfterFailure = NO;
24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
25 | [[[XCUIApplication alloc] init] launch];
26 |
27 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
28 | }
29 |
30 | - (void)tearDown {
31 | // Put teardown code here. This method is called after the invocation of each test method in the class.
32 | [super tearDown];
33 | }
34 |
35 | - (void)testExample {
36 | // Use recording to get started writing UI tests.
37 | // Use XCTAssert and related functions to verify your tests produce the correct results.
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/Push/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // Push
4 | //
5 | // Created by gh on 5/10/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/PushTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/PushTests/PushTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // PushTests.m
3 | // PushTests
4 | //
5 | // Created by gh on 5/10/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface PushTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation PushTests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 | // Put setup code here. This method is called before the invocation of each test method in the class.
20 | }
21 |
22 | - (void)tearDown {
23 | // Put teardown code here. This method is called after the invocation of each test method in the class.
24 | [super tearDown];
25 | }
26 |
27 | - (void)testExample {
28 | // This is an example of a functional test case.
29 | // Use XCTAssert and related functions to verify your tests produce the correct results.
30 | }
31 |
32 | - (void)testPerformanceExample {
33 | // This is an example of a performance test case.
34 | [self measureBlock:^{
35 | // Put the code you want to measure the time of here.
36 | }];
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/PushUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/PushUITests/PushUITests.m:
--------------------------------------------------------------------------------
1 | //
2 | // PushUITests.m
3 | // PushUITests
4 | //
5 | // Created by gh on 5/10/17.
6 | // Copyright © 2017 Slack. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface PushUITests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation PushUITests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 |
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 |
22 | // In UI tests it is usually best to stop immediately when a failure occurs.
23 | self.continueAfterFailure = NO;
24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
25 | [[[XCUIApplication alloc] init] launch];
26 |
27 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
28 | }
29 |
30 | - (void)tearDown {
31 | // Put teardown code here. This method is called after the invocation of each test method in the class.
32 | [super tearDown];
33 | }
34 |
35 | - (void)testExample {
36 | // Use recording to get started writing UI tests.
37 | // Use XCTAssert and related functions to verify your tests produce the correct results.
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # RichNotifications
2 |
3 | RichNotifications are very Fascinating feature in iOS 10. It has :-
4 |
5 |
6 | 1. Push Rich notification
7 | . Use service extension(Notification Service extension) for default view and use Notification Content extension for make custom notification view.
8 | . Make sure that notification payload contains: mutable-content = 1 in the aps dictionary.
9 | . this contains all types of fun like Image, GIF, Audio, Video.
10 | . Make sure that Image <= 10 MB, Audio <= 5 MB, Video <= 50 MB.
11 | . for silent notiifcations Make sure that notification payload contains: mutable-content = 1 in the aps dictionary. Also Payload does n't contain Alert/Badge/Sound.
12 | . Make Actionable Notiifciations by using Category.
13 |
14 | 2. Local Notifications
15 | . Use UNMutableNotificationContent for make notification.
16 | . schedule notification using UNCalendarNotification trigger, UNTimeIntervalNotificationTrigger.
17 | . Make Actionable Notiifciations by using Category.
18 |
19 |
20 | P.S. - Make sure that Actionable Notiification identifier should be identical. Put your bundle identifier and develpoment team in General Tab.
21 |
--------------------------------------------------------------------------------
/RichNotification copy-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | RichNotificationMultipleTarget
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | NSAppTransportSecurity
26 |
27 | NSAllowsArbitraryLoads
28 |
29 |
30 | UIBackgroundModes
31 |
32 | remote-notification
33 |
34 | UILaunchStoryboardName
35 | LaunchScreen
36 | UIMainStoryboardFile
37 | Main
38 | UIRequiredDeviceCapabilities
39 |
40 | armv7
41 |
42 | UISupportedInterfaceOrientations
43 |
44 | UIInterfaceOrientationPortrait
45 | UIInterfaceOrientationLandscapeLeft
46 | UIInterfaceOrientationLandscapeRight
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | E61AE1201EC341CA00F0D03A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE11F1EC341CA00F0D03A /* main.m */; };
11 | E61AE1231EC341CA00F0D03A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE1221EC341CA00F0D03A /* AppDelegate.m */; };
12 | E61AE1261EC341CA00F0D03A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE1251EC341CA00F0D03A /* ViewController.m */; };
13 | E61AE1291EC341CA00F0D03A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E61AE1271EC341CA00F0D03A /* Main.storyboard */; };
14 | E61AE12E1EC341CA00F0D03A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E61AE12C1EC341CA00F0D03A /* LaunchScreen.storyboard */; };
15 | E61AE1391EC341CA00F0D03A /* PushTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE1381EC341CA00F0D03A /* PushTests.m */; };
16 | E61AE1441EC341CA00F0D03A /* PushUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE1431EC341CA00F0D03A /* PushUITests.m */; };
17 | E6951ECC1ED6FBFA00ABADA2 /* notification.png in Resources */ = {isa = PBXBuildFile; fileRef = E6951ECB1ED6FBFA00ABADA2 /* notification.png */; };
18 | E69E03701EDE86510008DC73 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE1251EC341CA00F0D03A /* ViewController.m */; };
19 | E69E03711EDE86510008DC73 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE1221EC341CA00F0D03A /* AppDelegate.m */; };
20 | E69E03721EDE86510008DC73 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E61AE11F1EC341CA00F0D03A /* main.m */; };
21 | E69E03751EDE86510008DC73 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E61AE12C1EC341CA00F0D03A /* LaunchScreen.storyboard */; };
22 | E69E03781EDE86510008DC73 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E61AE1271EC341CA00F0D03A /* Main.storyboard */; };
23 | E69E03801EDE86F40008DC73 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E61AE12A1EC341CA00F0D03A /* Assets.xcassets */; };
24 | E69E03811EDE87B40008DC73 /* NotificationService.m in Sources */ = {isa = PBXBuildFile; fileRef = E6CDD77D1EC465E80087544B /* NotificationService.m */; };
25 | E69E03821EDE88E30008DC73 /* notification.png in Resources */ = {isa = PBXBuildFile; fileRef = E6951ECB1ED6FBFA00ABADA2 /* notification.png */; };
26 | E69E038D1EDE89C50008DC73 /* NotificationService.m in Sources */ = {isa = PBXBuildFile; fileRef = E6CDD77D1EC465E80087544B /* NotificationService.m */; };
27 | E69E038E1EDE89CE0008DC73 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = E6CDD77F1EC465E80087544B /* Info.plist */; };
28 | E69E03CD1EDE9B890008DC73 /* NotificationService-MultipleTarget.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E69E03C51EDE9B890008DC73 /* NotificationService-MultipleTarget.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
29 | E69E03D11EDE9CCF0008DC73 /* NotificationService.m in Sources */ = {isa = PBXBuildFile; fileRef = E6CDD77D1EC465E80087544B /* NotificationService.m */; };
30 | E69E03F91EDEAA1D0008DC73 /* Info-MultipleTarget.plist in Resources */ = {isa = PBXBuildFile; fileRef = E69E03F81EDEAA1D0008DC73 /* Info-MultipleTarget.plist */; };
31 | E6CDD77E1EC465E80087544B /* NotificationService.m in Sources */ = {isa = PBXBuildFile; fileRef = E6CDD77D1EC465E80087544B /* NotificationService.m */; };
32 | E6CDD7821EC465E80087544B /* NotificationService.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E6CDD77A1EC465E80087544B /* NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
33 | E6CDD78B1EC471080087544B /* UserNotifications.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E61AE1581EC3499A00F0D03A /* UserNotifications.framework */; };
34 | E6CDD78C1EC471080087544B /* UserNotificationsUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E61AE15A1EC3499A00F0D03A /* UserNotificationsUI.framework */; };
35 | E6CDD7901EC471080087544B /* NotificationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E6CDD78F1EC471080087544B /* NotificationViewController.m */; };
36 | E6CDD7931EC471080087544B /* MainInterface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E6CDD7911EC471080087544B /* MainInterface.storyboard */; };
37 | /* End PBXBuildFile section */
38 |
39 | /* Begin PBXContainerItemProxy section */
40 | E61AE1351EC341CA00F0D03A /* PBXContainerItemProxy */ = {
41 | isa = PBXContainerItemProxy;
42 | containerPortal = E61AE1131EC341CA00F0D03A /* Project object */;
43 | proxyType = 1;
44 | remoteGlobalIDString = E61AE11A1EC341CA00F0D03A;
45 | remoteInfo = Push;
46 | };
47 | E61AE1401EC341CA00F0D03A /* PBXContainerItemProxy */ = {
48 | isa = PBXContainerItemProxy;
49 | containerPortal = E61AE1131EC341CA00F0D03A /* Project object */;
50 | proxyType = 1;
51 | remoteGlobalIDString = E61AE11A1EC341CA00F0D03A;
52 | remoteInfo = Push;
53 | };
54 | E69E03CB1EDE9B890008DC73 /* PBXContainerItemProxy */ = {
55 | isa = PBXContainerItemProxy;
56 | containerPortal = E61AE1131EC341CA00F0D03A /* Project object */;
57 | proxyType = 1;
58 | remoteGlobalIDString = E69E03C41EDE9B890008DC73;
59 | remoteInfo = "NotificationService-demo";
60 | };
61 | E6CDD7801EC465E80087544B /* PBXContainerItemProxy */ = {
62 | isa = PBXContainerItemProxy;
63 | containerPortal = E61AE1131EC341CA00F0D03A /* Project object */;
64 | proxyType = 1;
65 | remoteGlobalIDString = E6CDD7791EC465E80087544B;
66 | remoteInfo = NotificationService;
67 | };
68 | /* End PBXContainerItemProxy section */
69 |
70 | /* Begin PBXCopyFilesBuildPhase section */
71 | E61AE16A1EC3499A00F0D03A /* Embed App Extensions */ = {
72 | isa = PBXCopyFilesBuildPhase;
73 | buildActionMask = 2147483647;
74 | dstPath = "";
75 | dstSubfolderSpec = 13;
76 | files = (
77 | E6CDD7821EC465E80087544B /* NotificationService.appex in Embed App Extensions */,
78 | );
79 | name = "Embed App Extensions";
80 | runOnlyForDeploymentPostprocessing = 0;
81 | };
82 | E69E039F1EDE8F690008DC73 /* Embed App Extensions */ = {
83 | isa = PBXCopyFilesBuildPhase;
84 | buildActionMask = 2147483647;
85 | dstPath = "";
86 | dstSubfolderSpec = 13;
87 | files = (
88 | E69E03CD1EDE9B890008DC73 /* NotificationService-MultipleTarget.appex in Embed App Extensions */,
89 | );
90 | name = "Embed App Extensions";
91 | runOnlyForDeploymentPostprocessing = 0;
92 | };
93 | /* End PBXCopyFilesBuildPhase section */
94 |
95 | /* Begin PBXFileReference section */
96 | E61AE11B1EC341CA00F0D03A /* RichNotification.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RichNotification.app; sourceTree = BUILT_PRODUCTS_DIR; };
97 | E61AE11F1EC341CA00F0D03A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
98 | E61AE1211EC341CA00F0D03A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
99 | E61AE1221EC341CA00F0D03A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
100 | E61AE1241EC341CA00F0D03A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
101 | E61AE1251EC341CA00F0D03A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
102 | E61AE1281EC341CA00F0D03A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
103 | E61AE12A1EC341CA00F0D03A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
104 | E61AE12D1EC341CA00F0D03A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
105 | E61AE12F1EC341CA00F0D03A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
106 | E61AE1341EC341CA00F0D03A /* RichNotificationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RichNotificationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
107 | E61AE1381EC341CA00F0D03A /* PushTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PushTests.m; sourceTree = ""; };
108 | E61AE13A1EC341CA00F0D03A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
109 | E61AE13F1EC341CA00F0D03A /* RichNotificationUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RichNotificationUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
110 | E61AE1431EC341CA00F0D03A /* PushUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PushUITests.m; sourceTree = ""; };
111 | E61AE1451EC341CA00F0D03A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
112 | E61AE1511EC345FC00F0D03A /* Push.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Push.entitlements; sourceTree = ""; };
113 | E61AE1581EC3499A00F0D03A /* UserNotifications.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UserNotifications.framework; path = System/Library/Frameworks/UserNotifications.framework; sourceTree = SDKROOT; };
114 | E61AE15A1EC3499A00F0D03A /* UserNotificationsUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UserNotificationsUI.framework; path = System/Library/Frameworks/UserNotificationsUI.framework; sourceTree = SDKROOT; };
115 | E6951ECB1ED6FBFA00ABADA2 /* notification.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = notification.png; sourceTree = ""; };
116 | E69E037E1EDE86510008DC73 /* RichNotificationMultipleTarget.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RichNotificationMultipleTarget.app; sourceTree = BUILT_PRODUCTS_DIR; };
117 | E69E037F1EDE86520008DC73 /* RichNotification copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "RichNotification copy-Info.plist"; path = "/Users/gh/Documents/Layer/RichNotifications/RichNotification copy-Info.plist"; sourceTree = ""; };
118 | E69E03C51EDE9B890008DC73 /* NotificationService-MultipleTarget.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "NotificationService-MultipleTarget.appex"; sourceTree = BUILT_PRODUCTS_DIR; };
119 | E69E03F81EDEAA1D0008DC73 /* Info-MultipleTarget.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-MultipleTarget.plist"; sourceTree = ""; };
120 | E6CDD77A1EC465E80087544B /* NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; };
121 | E6CDD77C1EC465E80087544B /* NotificationService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NotificationService.h; sourceTree = ""; };
122 | E6CDD77D1EC465E80087544B /* NotificationService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotificationService.m; sourceTree = ""; };
123 | E6CDD77F1EC465E80087544B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
124 | E6CDD78A1EC471070087544B /* NotificationViewC.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationViewC.appex; sourceTree = BUILT_PRODUCTS_DIR; };
125 | E6CDD78E1EC471080087544B /* NotificationViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NotificationViewController.h; sourceTree = ""; };
126 | E6CDD78F1EC471080087544B /* NotificationViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotificationViewController.m; sourceTree = ""; };
127 | E6CDD7921EC471080087544B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainInterface.storyboard; sourceTree = ""; };
128 | E6CDD7941EC471080087544B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
129 | E6CDD79B1EC4762B0087544B /* NotificationService.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NotificationService.entitlements; sourceTree = ""; };
130 | E6CDD79C1EC476350087544B /* NotificationViewC.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NotificationViewC.entitlements; sourceTree = ""; };
131 | /* End PBXFileReference section */
132 |
133 | /* Begin PBXFrameworksBuildPhase section */
134 | E61AE1181EC341CA00F0D03A /* Frameworks */ = {
135 | isa = PBXFrameworksBuildPhase;
136 | buildActionMask = 2147483647;
137 | files = (
138 | );
139 | runOnlyForDeploymentPostprocessing = 0;
140 | };
141 | E61AE1311EC341CA00F0D03A /* Frameworks */ = {
142 | isa = PBXFrameworksBuildPhase;
143 | buildActionMask = 2147483647;
144 | files = (
145 | );
146 | runOnlyForDeploymentPostprocessing = 0;
147 | };
148 | E61AE13C1EC341CA00F0D03A /* Frameworks */ = {
149 | isa = PBXFrameworksBuildPhase;
150 | buildActionMask = 2147483647;
151 | files = (
152 | );
153 | runOnlyForDeploymentPostprocessing = 0;
154 | };
155 | E69E03731EDE86510008DC73 /* Frameworks */ = {
156 | isa = PBXFrameworksBuildPhase;
157 | buildActionMask = 2147483647;
158 | files = (
159 | );
160 | runOnlyForDeploymentPostprocessing = 0;
161 | };
162 | E69E03C21EDE9B890008DC73 /* Frameworks */ = {
163 | isa = PBXFrameworksBuildPhase;
164 | buildActionMask = 2147483647;
165 | files = (
166 | );
167 | runOnlyForDeploymentPostprocessing = 0;
168 | };
169 | E6CDD7771EC465E80087544B /* Frameworks */ = {
170 | isa = PBXFrameworksBuildPhase;
171 | buildActionMask = 2147483647;
172 | files = (
173 | );
174 | runOnlyForDeploymentPostprocessing = 0;
175 | };
176 | E6CDD7871EC471070087544B /* Frameworks */ = {
177 | isa = PBXFrameworksBuildPhase;
178 | buildActionMask = 2147483647;
179 | files = (
180 | E6CDD78C1EC471080087544B /* UserNotificationsUI.framework in Frameworks */,
181 | E6CDD78B1EC471080087544B /* UserNotifications.framework in Frameworks */,
182 | );
183 | runOnlyForDeploymentPostprocessing = 0;
184 | };
185 | /* End PBXFrameworksBuildPhase section */
186 |
187 | /* Begin PBXGroup section */
188 | E61AE1121EC341CA00F0D03A = {
189 | isa = PBXGroup;
190 | children = (
191 | E6951ECB1ED6FBFA00ABADA2 /* notification.png */,
192 | E61AE11D1EC341CA00F0D03A /* Push */,
193 | E61AE1371EC341CA00F0D03A /* PushTests */,
194 | E61AE1421EC341CA00F0D03A /* PushUITests */,
195 | E6CDD77B1EC465E80087544B /* NotificationService */,
196 | E6CDD78D1EC471080087544B /* NotificationViewC */,
197 | E61AE1571EC3499A00F0D03A /* Frameworks */,
198 | E61AE11C1EC341CA00F0D03A /* Products */,
199 | E69E037F1EDE86520008DC73 /* RichNotification copy-Info.plist */,
200 | );
201 | sourceTree = "";
202 | };
203 | E61AE11C1EC341CA00F0D03A /* Products */ = {
204 | isa = PBXGroup;
205 | children = (
206 | E61AE11B1EC341CA00F0D03A /* RichNotification.app */,
207 | E61AE1341EC341CA00F0D03A /* RichNotificationTests.xctest */,
208 | E61AE13F1EC341CA00F0D03A /* RichNotificationUITests.xctest */,
209 | E6CDD77A1EC465E80087544B /* NotificationService.appex */,
210 | E6CDD78A1EC471070087544B /* NotificationViewC.appex */,
211 | E69E037E1EDE86510008DC73 /* RichNotificationMultipleTarget.app */,
212 | E69E03C51EDE9B890008DC73 /* NotificationService-MultipleTarget.appex */,
213 | );
214 | name = Products;
215 | sourceTree = "";
216 | };
217 | E61AE11D1EC341CA00F0D03A /* Push */ = {
218 | isa = PBXGroup;
219 | children = (
220 | E61AE1511EC345FC00F0D03A /* Push.entitlements */,
221 | E61AE1211EC341CA00F0D03A /* AppDelegate.h */,
222 | E61AE1221EC341CA00F0D03A /* AppDelegate.m */,
223 | E61AE1241EC341CA00F0D03A /* ViewController.h */,
224 | E61AE1251EC341CA00F0D03A /* ViewController.m */,
225 | E61AE1271EC341CA00F0D03A /* Main.storyboard */,
226 | E61AE12A1EC341CA00F0D03A /* Assets.xcassets */,
227 | E61AE12C1EC341CA00F0D03A /* LaunchScreen.storyboard */,
228 | E61AE12F1EC341CA00F0D03A /* Info.plist */,
229 | E61AE11E1EC341CA00F0D03A /* Supporting Files */,
230 | );
231 | path = Push;
232 | sourceTree = "";
233 | };
234 | E61AE11E1EC341CA00F0D03A /* Supporting Files */ = {
235 | isa = PBXGroup;
236 | children = (
237 | E61AE11F1EC341CA00F0D03A /* main.m */,
238 | );
239 | name = "Supporting Files";
240 | sourceTree = "";
241 | };
242 | E61AE1371EC341CA00F0D03A /* PushTests */ = {
243 | isa = PBXGroup;
244 | children = (
245 | E61AE1381EC341CA00F0D03A /* PushTests.m */,
246 | E61AE13A1EC341CA00F0D03A /* Info.plist */,
247 | );
248 | path = PushTests;
249 | sourceTree = "";
250 | };
251 | E61AE1421EC341CA00F0D03A /* PushUITests */ = {
252 | isa = PBXGroup;
253 | children = (
254 | E61AE1431EC341CA00F0D03A /* PushUITests.m */,
255 | E61AE1451EC341CA00F0D03A /* Info.plist */,
256 | );
257 | path = PushUITests;
258 | sourceTree = "";
259 | };
260 | E61AE1571EC3499A00F0D03A /* Frameworks */ = {
261 | isa = PBXGroup;
262 | children = (
263 | E61AE1581EC3499A00F0D03A /* UserNotifications.framework */,
264 | E61AE15A1EC3499A00F0D03A /* UserNotificationsUI.framework */,
265 | );
266 | name = Frameworks;
267 | sourceTree = "";
268 | };
269 | E6CDD77B1EC465E80087544B /* NotificationService */ = {
270 | isa = PBXGroup;
271 | children = (
272 | E69E03F81EDEAA1D0008DC73 /* Info-MultipleTarget.plist */,
273 | E6CDD79B1EC4762B0087544B /* NotificationService.entitlements */,
274 | E6CDD77C1EC465E80087544B /* NotificationService.h */,
275 | E6CDD77D1EC465E80087544B /* NotificationService.m */,
276 | E6CDD77F1EC465E80087544B /* Info.plist */,
277 | );
278 | path = NotificationService;
279 | sourceTree = "";
280 | };
281 | E6CDD78D1EC471080087544B /* NotificationViewC */ = {
282 | isa = PBXGroup;
283 | children = (
284 | E6CDD79C1EC476350087544B /* NotificationViewC.entitlements */,
285 | E6CDD78E1EC471080087544B /* NotificationViewController.h */,
286 | E6CDD78F1EC471080087544B /* NotificationViewController.m */,
287 | E6CDD7911EC471080087544B /* MainInterface.storyboard */,
288 | E6CDD7941EC471080087544B /* Info.plist */,
289 | );
290 | path = NotificationViewC;
291 | sourceTree = "";
292 | };
293 | /* End PBXGroup section */
294 |
295 | /* Begin PBXNativeTarget section */
296 | E61AE11A1EC341CA00F0D03A /* RichNotification */ = {
297 | isa = PBXNativeTarget;
298 | buildConfigurationList = E61AE1481EC341CA00F0D03A /* Build configuration list for PBXNativeTarget "RichNotification" */;
299 | buildPhases = (
300 | E61AE1171EC341CA00F0D03A /* Sources */,
301 | E61AE1181EC341CA00F0D03A /* Frameworks */,
302 | E61AE1191EC341CA00F0D03A /* Resources */,
303 | E61AE16A1EC3499A00F0D03A /* Embed App Extensions */,
304 | );
305 | buildRules = (
306 | );
307 | dependencies = (
308 | E6CDD7811EC465E80087544B /* PBXTargetDependency */,
309 | );
310 | name = RichNotification;
311 | productName = Push;
312 | productReference = E61AE11B1EC341CA00F0D03A /* RichNotification.app */;
313 | productType = "com.apple.product-type.application";
314 | };
315 | E61AE1331EC341CA00F0D03A /* RichNotificationTests */ = {
316 | isa = PBXNativeTarget;
317 | buildConfigurationList = E61AE14B1EC341CA00F0D03A /* Build configuration list for PBXNativeTarget "RichNotificationTests" */;
318 | buildPhases = (
319 | E61AE1301EC341CA00F0D03A /* Sources */,
320 | E61AE1311EC341CA00F0D03A /* Frameworks */,
321 | E61AE1321EC341CA00F0D03A /* Resources */,
322 | );
323 | buildRules = (
324 | );
325 | dependencies = (
326 | E61AE1361EC341CA00F0D03A /* PBXTargetDependency */,
327 | );
328 | name = RichNotificationTests;
329 | productName = PushTests;
330 | productReference = E61AE1341EC341CA00F0D03A /* RichNotificationTests.xctest */;
331 | productType = "com.apple.product-type.bundle.unit-test";
332 | };
333 | E61AE13E1EC341CA00F0D03A /* RichNotificationUITests */ = {
334 | isa = PBXNativeTarget;
335 | buildConfigurationList = E61AE14E1EC341CA00F0D03A /* Build configuration list for PBXNativeTarget "RichNotificationUITests" */;
336 | buildPhases = (
337 | E61AE13B1EC341CA00F0D03A /* Sources */,
338 | E61AE13C1EC341CA00F0D03A /* Frameworks */,
339 | E61AE13D1EC341CA00F0D03A /* Resources */,
340 | );
341 | buildRules = (
342 | );
343 | dependencies = (
344 | E61AE1411EC341CA00F0D03A /* PBXTargetDependency */,
345 | );
346 | name = RichNotificationUITests;
347 | productName = PushUITests;
348 | productReference = E61AE13F1EC341CA00F0D03A /* RichNotificationUITests.xctest */;
349 | productType = "com.apple.product-type.bundle.ui-testing";
350 | };
351 | E69E036C1EDE86510008DC73 /* RichNotificationMultipleTarget */ = {
352 | isa = PBXNativeTarget;
353 | buildConfigurationList = E69E037B1EDE86510008DC73 /* Build configuration list for PBXNativeTarget "RichNotificationMultipleTarget" */;
354 | buildPhases = (
355 | E69E036F1EDE86510008DC73 /* Sources */,
356 | E69E03731EDE86510008DC73 /* Frameworks */,
357 | E69E03741EDE86510008DC73 /* Resources */,
358 | E69E039F1EDE8F690008DC73 /* Embed App Extensions */,
359 | );
360 | buildRules = (
361 | );
362 | dependencies = (
363 | E69E03CC1EDE9B890008DC73 /* PBXTargetDependency */,
364 | );
365 | name = RichNotificationMultipleTarget;
366 | productName = Push;
367 | productReference = E69E037E1EDE86510008DC73 /* RichNotificationMultipleTarget.app */;
368 | productType = "com.apple.product-type.application";
369 | };
370 | E69E03C41EDE9B890008DC73 /* NotificationService-MultipleTarget */ = {
371 | isa = PBXNativeTarget;
372 | buildConfigurationList = E69E03CE1EDE9B890008DC73 /* Build configuration list for PBXNativeTarget "NotificationService-MultipleTarget" */;
373 | buildPhases = (
374 | E69E03C11EDE9B890008DC73 /* Sources */,
375 | E69E03C21EDE9B890008DC73 /* Frameworks */,
376 | E69E03C31EDE9B890008DC73 /* Resources */,
377 | );
378 | buildRules = (
379 | );
380 | dependencies = (
381 | );
382 | name = "NotificationService-MultipleTarget";
383 | productName = "NotificationService-demo";
384 | productReference = E69E03C51EDE9B890008DC73 /* NotificationService-MultipleTarget.appex */;
385 | productType = "com.apple.product-type.app-extension";
386 | };
387 | E6CDD7791EC465E80087544B /* NotificationService */ = {
388 | isa = PBXNativeTarget;
389 | buildConfigurationList = E6CDD7831EC465E80087544B /* Build configuration list for PBXNativeTarget "NotificationService" */;
390 | buildPhases = (
391 | E6CDD7761EC465E80087544B /* Sources */,
392 | E6CDD7771EC465E80087544B /* Frameworks */,
393 | E6CDD7781EC465E80087544B /* Resources */,
394 | );
395 | buildRules = (
396 | );
397 | dependencies = (
398 | );
399 | name = NotificationService;
400 | productName = NotificationService;
401 | productReference = E6CDD77A1EC465E80087544B /* NotificationService.appex */;
402 | productType = "com.apple.product-type.app-extension";
403 | };
404 | E6CDD7891EC471070087544B /* NotificationViewC */ = {
405 | isa = PBXNativeTarget;
406 | buildConfigurationList = E6CDD7981EC471080087544B /* Build configuration list for PBXNativeTarget "NotificationViewC" */;
407 | buildPhases = (
408 | E6CDD7861EC471070087544B /* Sources */,
409 | E6CDD7871EC471070087544B /* Frameworks */,
410 | E6CDD7881EC471070087544B /* Resources */,
411 | );
412 | buildRules = (
413 | );
414 | dependencies = (
415 | );
416 | name = NotificationViewC;
417 | productName = NotificationViewC;
418 | productReference = E6CDD78A1EC471070087544B /* NotificationViewC.appex */;
419 | productType = "com.apple.product-type.app-extension";
420 | };
421 | /* End PBXNativeTarget section */
422 |
423 | /* Begin PBXProject section */
424 | E61AE1131EC341CA00F0D03A /* Project object */ = {
425 | isa = PBXProject;
426 | attributes = {
427 | LastUpgradeCheck = 0830;
428 | ORGANIZATIONNAME = Slack;
429 | TargetAttributes = {
430 | E61AE11A1EC341CA00F0D03A = {
431 | CreatedOnToolsVersion = 8.3.2;
432 | DevelopmentTeam = R26BPY33GG;
433 | ProvisioningStyle = Automatic;
434 | SystemCapabilities = {
435 | com.apple.Push = {
436 | enabled = 1;
437 | };
438 | };
439 | };
440 | E61AE1331EC341CA00F0D03A = {
441 | CreatedOnToolsVersion = 8.3.2;
442 | DevelopmentTeam = R26BPY33GG;
443 | ProvisioningStyle = Automatic;
444 | TestTargetID = E61AE11A1EC341CA00F0D03A;
445 | };
446 | E61AE13E1EC341CA00F0D03A = {
447 | CreatedOnToolsVersion = 8.3.2;
448 | DevelopmentTeam = R26BPY33GG;
449 | ProvisioningStyle = Automatic;
450 | TestTargetID = E61AE11A1EC341CA00F0D03A;
451 | };
452 | E69E036C1EDE86510008DC73 = {
453 | DevelopmentTeam = R26BPY33GG;
454 | };
455 | E69E03C41EDE9B890008DC73 = {
456 | CreatedOnToolsVersion = 8.3.2;
457 | DevelopmentTeam = R26BPY33GG;
458 | ProvisioningStyle = Automatic;
459 | };
460 | E6CDD7791EC465E80087544B = {
461 | CreatedOnToolsVersion = 8.3.2;
462 | DevelopmentTeam = R26BPY33GG;
463 | ProvisioningStyle = Automatic;
464 | SystemCapabilities = {
465 | com.apple.Push = {
466 | enabled = 1;
467 | };
468 | };
469 | };
470 | E6CDD7891EC471070087544B = {
471 | CreatedOnToolsVersion = 8.3.2;
472 | DevelopmentTeam = R26BPY33GG;
473 | ProvisioningStyle = Automatic;
474 | SystemCapabilities = {
475 | com.apple.Push = {
476 | enabled = 1;
477 | };
478 | };
479 | };
480 | };
481 | };
482 | buildConfigurationList = E61AE1161EC341CA00F0D03A /* Build configuration list for PBXProject "RichNotification" */;
483 | compatibilityVersion = "Xcode 3.2";
484 | developmentRegion = English;
485 | hasScannedForEncodings = 0;
486 | knownRegions = (
487 | en,
488 | Base,
489 | );
490 | mainGroup = E61AE1121EC341CA00F0D03A;
491 | productRefGroup = E61AE11C1EC341CA00F0D03A /* Products */;
492 | projectDirPath = "";
493 | projectRoot = "";
494 | targets = (
495 | E61AE11A1EC341CA00F0D03A /* RichNotification */,
496 | E61AE1331EC341CA00F0D03A /* RichNotificationTests */,
497 | E61AE13E1EC341CA00F0D03A /* RichNotificationUITests */,
498 | E6CDD7791EC465E80087544B /* NotificationService */,
499 | E6CDD7891EC471070087544B /* NotificationViewC */,
500 | E69E036C1EDE86510008DC73 /* RichNotificationMultipleTarget */,
501 | E69E03C41EDE9B890008DC73 /* NotificationService-MultipleTarget */,
502 | );
503 | };
504 | /* End PBXProject section */
505 |
506 | /* Begin PBXResourcesBuildPhase section */
507 | E61AE1191EC341CA00F0D03A /* Resources */ = {
508 | isa = PBXResourcesBuildPhase;
509 | buildActionMask = 2147483647;
510 | files = (
511 | E61AE12E1EC341CA00F0D03A /* LaunchScreen.storyboard in Resources */,
512 | E6951ECC1ED6FBFA00ABADA2 /* notification.png in Resources */,
513 | E69E03801EDE86F40008DC73 /* Assets.xcassets in Resources */,
514 | E69E038E1EDE89CE0008DC73 /* Info.plist in Resources */,
515 | E61AE1291EC341CA00F0D03A /* Main.storyboard in Resources */,
516 | );
517 | runOnlyForDeploymentPostprocessing = 0;
518 | };
519 | E61AE1321EC341CA00F0D03A /* Resources */ = {
520 | isa = PBXResourcesBuildPhase;
521 | buildActionMask = 2147483647;
522 | files = (
523 | );
524 | runOnlyForDeploymentPostprocessing = 0;
525 | };
526 | E61AE13D1EC341CA00F0D03A /* Resources */ = {
527 | isa = PBXResourcesBuildPhase;
528 | buildActionMask = 2147483647;
529 | files = (
530 | );
531 | runOnlyForDeploymentPostprocessing = 0;
532 | };
533 | E69E03741EDE86510008DC73 /* Resources */ = {
534 | isa = PBXResourcesBuildPhase;
535 | buildActionMask = 2147483647;
536 | files = (
537 | E69E03751EDE86510008DC73 /* LaunchScreen.storyboard in Resources */,
538 | E69E03781EDE86510008DC73 /* Main.storyboard in Resources */,
539 | E69E03821EDE88E30008DC73 /* notification.png in Resources */,
540 | );
541 | runOnlyForDeploymentPostprocessing = 0;
542 | };
543 | E69E03C31EDE9B890008DC73 /* Resources */ = {
544 | isa = PBXResourcesBuildPhase;
545 | buildActionMask = 2147483647;
546 | files = (
547 | );
548 | runOnlyForDeploymentPostprocessing = 0;
549 | };
550 | E6CDD7781EC465E80087544B /* Resources */ = {
551 | isa = PBXResourcesBuildPhase;
552 | buildActionMask = 2147483647;
553 | files = (
554 | E69E03F91EDEAA1D0008DC73 /* Info-MultipleTarget.plist in Resources */,
555 | );
556 | runOnlyForDeploymentPostprocessing = 0;
557 | };
558 | E6CDD7881EC471070087544B /* Resources */ = {
559 | isa = PBXResourcesBuildPhase;
560 | buildActionMask = 2147483647;
561 | files = (
562 | E6CDD7931EC471080087544B /* MainInterface.storyboard in Resources */,
563 | );
564 | runOnlyForDeploymentPostprocessing = 0;
565 | };
566 | /* End PBXResourcesBuildPhase section */
567 |
568 | /* Begin PBXSourcesBuildPhase section */
569 | E61AE1171EC341CA00F0D03A /* Sources */ = {
570 | isa = PBXSourcesBuildPhase;
571 | buildActionMask = 2147483647;
572 | files = (
573 | E69E03811EDE87B40008DC73 /* NotificationService.m in Sources */,
574 | E61AE1261EC341CA00F0D03A /* ViewController.m in Sources */,
575 | E61AE1231EC341CA00F0D03A /* AppDelegate.m in Sources */,
576 | E61AE1201EC341CA00F0D03A /* main.m in Sources */,
577 | );
578 | runOnlyForDeploymentPostprocessing = 0;
579 | };
580 | E61AE1301EC341CA00F0D03A /* Sources */ = {
581 | isa = PBXSourcesBuildPhase;
582 | buildActionMask = 2147483647;
583 | files = (
584 | E61AE1391EC341CA00F0D03A /* PushTests.m in Sources */,
585 | );
586 | runOnlyForDeploymentPostprocessing = 0;
587 | };
588 | E61AE13B1EC341CA00F0D03A /* Sources */ = {
589 | isa = PBXSourcesBuildPhase;
590 | buildActionMask = 2147483647;
591 | files = (
592 | E61AE1441EC341CA00F0D03A /* PushUITests.m in Sources */,
593 | );
594 | runOnlyForDeploymentPostprocessing = 0;
595 | };
596 | E69E036F1EDE86510008DC73 /* Sources */ = {
597 | isa = PBXSourcesBuildPhase;
598 | buildActionMask = 2147483647;
599 | files = (
600 | E69E038D1EDE89C50008DC73 /* NotificationService.m in Sources */,
601 | E69E03701EDE86510008DC73 /* ViewController.m in Sources */,
602 | E69E03711EDE86510008DC73 /* AppDelegate.m in Sources */,
603 | E69E03721EDE86510008DC73 /* main.m in Sources */,
604 | );
605 | runOnlyForDeploymentPostprocessing = 0;
606 | };
607 | E69E03C11EDE9B890008DC73 /* Sources */ = {
608 | isa = PBXSourcesBuildPhase;
609 | buildActionMask = 2147483647;
610 | files = (
611 | E69E03D11EDE9CCF0008DC73 /* NotificationService.m in Sources */,
612 | );
613 | runOnlyForDeploymentPostprocessing = 0;
614 | };
615 | E6CDD7761EC465E80087544B /* Sources */ = {
616 | isa = PBXSourcesBuildPhase;
617 | buildActionMask = 2147483647;
618 | files = (
619 | E6CDD77E1EC465E80087544B /* NotificationService.m in Sources */,
620 | );
621 | runOnlyForDeploymentPostprocessing = 0;
622 | };
623 | E6CDD7861EC471070087544B /* Sources */ = {
624 | isa = PBXSourcesBuildPhase;
625 | buildActionMask = 2147483647;
626 | files = (
627 | E6CDD7901EC471080087544B /* NotificationViewController.m in Sources */,
628 | );
629 | runOnlyForDeploymentPostprocessing = 0;
630 | };
631 | /* End PBXSourcesBuildPhase section */
632 |
633 | /* Begin PBXTargetDependency section */
634 | E61AE1361EC341CA00F0D03A /* PBXTargetDependency */ = {
635 | isa = PBXTargetDependency;
636 | target = E61AE11A1EC341CA00F0D03A /* RichNotification */;
637 | targetProxy = E61AE1351EC341CA00F0D03A /* PBXContainerItemProxy */;
638 | };
639 | E61AE1411EC341CA00F0D03A /* PBXTargetDependency */ = {
640 | isa = PBXTargetDependency;
641 | target = E61AE11A1EC341CA00F0D03A /* RichNotification */;
642 | targetProxy = E61AE1401EC341CA00F0D03A /* PBXContainerItemProxy */;
643 | };
644 | E69E03CC1EDE9B890008DC73 /* PBXTargetDependency */ = {
645 | isa = PBXTargetDependency;
646 | target = E69E03C41EDE9B890008DC73 /* NotificationService-MultipleTarget */;
647 | targetProxy = E69E03CB1EDE9B890008DC73 /* PBXContainerItemProxy */;
648 | };
649 | E6CDD7811EC465E80087544B /* PBXTargetDependency */ = {
650 | isa = PBXTargetDependency;
651 | target = E6CDD7791EC465E80087544B /* NotificationService */;
652 | targetProxy = E6CDD7801EC465E80087544B /* PBXContainerItemProxy */;
653 | };
654 | /* End PBXTargetDependency section */
655 |
656 | /* Begin PBXVariantGroup section */
657 | E61AE1271EC341CA00F0D03A /* Main.storyboard */ = {
658 | isa = PBXVariantGroup;
659 | children = (
660 | E61AE1281EC341CA00F0D03A /* Base */,
661 | );
662 | name = Main.storyboard;
663 | sourceTree = "";
664 | };
665 | E61AE12C1EC341CA00F0D03A /* LaunchScreen.storyboard */ = {
666 | isa = PBXVariantGroup;
667 | children = (
668 | E61AE12D1EC341CA00F0D03A /* Base */,
669 | );
670 | name = LaunchScreen.storyboard;
671 | sourceTree = "";
672 | };
673 | E6CDD7911EC471080087544B /* MainInterface.storyboard */ = {
674 | isa = PBXVariantGroup;
675 | children = (
676 | E6CDD7921EC471080087544B /* Base */,
677 | );
678 | name = MainInterface.storyboard;
679 | sourceTree = "";
680 | };
681 | /* End PBXVariantGroup section */
682 |
683 | /* Begin XCBuildConfiguration section */
684 | E61AE1461EC341CA00F0D03A /* Debug */ = {
685 | isa = XCBuildConfiguration;
686 | buildSettings = {
687 | ALWAYS_SEARCH_USER_PATHS = NO;
688 | CLANG_ANALYZER_NONNULL = YES;
689 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
690 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
691 | CLANG_CXX_LIBRARY = "libc++";
692 | CLANG_ENABLE_MODULES = YES;
693 | CLANG_ENABLE_OBJC_ARC = YES;
694 | CLANG_WARN_BOOL_CONVERSION = YES;
695 | CLANG_WARN_CONSTANT_CONVERSION = YES;
696 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
697 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
698 | CLANG_WARN_EMPTY_BODY = YES;
699 | CLANG_WARN_ENUM_CONVERSION = YES;
700 | CLANG_WARN_INFINITE_RECURSION = YES;
701 | CLANG_WARN_INT_CONVERSION = YES;
702 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
703 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
704 | CLANG_WARN_UNREACHABLE_CODE = YES;
705 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
706 | CODE_SIGN_IDENTITY = "iPhone Developer";
707 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
708 | COPY_PHASE_STRIP = NO;
709 | DEBUG_INFORMATION_FORMAT = dwarf;
710 | ENABLE_STRICT_OBJC_MSGSEND = YES;
711 | ENABLE_TESTABILITY = YES;
712 | GCC_C_LANGUAGE_STANDARD = gnu99;
713 | GCC_DYNAMIC_NO_PIC = NO;
714 | GCC_NO_COMMON_BLOCKS = YES;
715 | GCC_OPTIMIZATION_LEVEL = 0;
716 | GCC_PREPROCESSOR_DEFINITIONS = (
717 | "DEBUG=1",
718 | "$(inherited)",
719 | );
720 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
721 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
722 | GCC_WARN_UNDECLARED_SELECTOR = YES;
723 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
724 | GCC_WARN_UNUSED_FUNCTION = YES;
725 | GCC_WARN_UNUSED_VARIABLE = YES;
726 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
727 | MTL_ENABLE_DEBUG_INFO = YES;
728 | ONLY_ACTIVE_ARCH = YES;
729 | SDKROOT = iphoneos;
730 | };
731 | name = Debug;
732 | };
733 | E61AE1471EC341CA00F0D03A /* Release */ = {
734 | isa = XCBuildConfiguration;
735 | buildSettings = {
736 | ALWAYS_SEARCH_USER_PATHS = NO;
737 | CLANG_ANALYZER_NONNULL = YES;
738 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
739 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
740 | CLANG_CXX_LIBRARY = "libc++";
741 | CLANG_ENABLE_MODULES = YES;
742 | CLANG_ENABLE_OBJC_ARC = YES;
743 | CLANG_WARN_BOOL_CONVERSION = YES;
744 | CLANG_WARN_CONSTANT_CONVERSION = YES;
745 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
746 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
747 | CLANG_WARN_EMPTY_BODY = YES;
748 | CLANG_WARN_ENUM_CONVERSION = YES;
749 | CLANG_WARN_INFINITE_RECURSION = YES;
750 | CLANG_WARN_INT_CONVERSION = YES;
751 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
752 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
753 | CLANG_WARN_UNREACHABLE_CODE = YES;
754 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
755 | CODE_SIGN_IDENTITY = "iPhone Developer";
756 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
757 | COPY_PHASE_STRIP = NO;
758 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
759 | ENABLE_NS_ASSERTIONS = NO;
760 | ENABLE_STRICT_OBJC_MSGSEND = YES;
761 | GCC_C_LANGUAGE_STANDARD = gnu99;
762 | GCC_NO_COMMON_BLOCKS = YES;
763 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
764 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
765 | GCC_WARN_UNDECLARED_SELECTOR = YES;
766 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
767 | GCC_WARN_UNUSED_FUNCTION = YES;
768 | GCC_WARN_UNUSED_VARIABLE = YES;
769 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
770 | MTL_ENABLE_DEBUG_INFO = NO;
771 | SDKROOT = iphoneos;
772 | VALIDATE_PRODUCT = YES;
773 | };
774 | name = Release;
775 | };
776 | E61AE1491EC341CA00F0D03A /* Debug */ = {
777 | isa = XCBuildConfiguration;
778 | buildSettings = {
779 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
780 | CODE_SIGN_ENTITLEMENTS = Push/Push.entitlements;
781 | CODE_SIGN_IDENTITY = "iPhone Developer";
782 | DEVELOPMENT_TEAM = R26BPY33GG;
783 | INFOPLIST_FILE = Push/Info.plist;
784 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
785 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
786 | PRODUCT_BUNDLE_IDENTIFIER = com.guesthouser.ghTest;
787 | PRODUCT_NAME = "$(TARGET_NAME)";
788 | };
789 | name = Debug;
790 | };
791 | E61AE14A1EC341CA00F0D03A /* Release */ = {
792 | isa = XCBuildConfiguration;
793 | buildSettings = {
794 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
795 | CODE_SIGN_ENTITLEMENTS = Push/Push.entitlements;
796 | CODE_SIGN_IDENTITY = "iPhone Developer";
797 | DEVELOPMENT_TEAM = R26BPY33GG;
798 | INFOPLIST_FILE = Push/Info.plist;
799 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
800 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
801 | PRODUCT_BUNDLE_IDENTIFIER = com.guesthouser.ghTest;
802 | PRODUCT_NAME = "$(TARGET_NAME)";
803 | };
804 | name = Release;
805 | };
806 | E61AE14C1EC341CA00F0D03A /* Debug */ = {
807 | isa = XCBuildConfiguration;
808 | buildSettings = {
809 | BUNDLE_LOADER = "$(TEST_HOST)";
810 | DEVELOPMENT_TEAM = R26BPY33GG;
811 | INFOPLIST_FILE = PushTests/Info.plist;
812 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
813 | PRODUCT_BUNDLE_IDENTIFIER = com.slack.com.PushTests;
814 | PRODUCT_NAME = "$(TARGET_NAME)";
815 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RichNotification.app/RichNotification";
816 | };
817 | name = Debug;
818 | };
819 | E61AE14D1EC341CA00F0D03A /* Release */ = {
820 | isa = XCBuildConfiguration;
821 | buildSettings = {
822 | BUNDLE_LOADER = "$(TEST_HOST)";
823 | DEVELOPMENT_TEAM = R26BPY33GG;
824 | INFOPLIST_FILE = PushTests/Info.plist;
825 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
826 | PRODUCT_BUNDLE_IDENTIFIER = com.slack.com.PushTests;
827 | PRODUCT_NAME = "$(TARGET_NAME)";
828 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RichNotification.app/RichNotification";
829 | };
830 | name = Release;
831 | };
832 | E61AE14F1EC341CA00F0D03A /* Debug */ = {
833 | isa = XCBuildConfiguration;
834 | buildSettings = {
835 | DEVELOPMENT_TEAM = R26BPY33GG;
836 | INFOPLIST_FILE = PushUITests/Info.plist;
837 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
838 | PRODUCT_BUNDLE_IDENTIFIER = com.slack.com.PushUITests;
839 | PRODUCT_NAME = "$(TARGET_NAME)";
840 | TEST_TARGET_NAME = Push;
841 | };
842 | name = Debug;
843 | };
844 | E61AE1501EC341CA00F0D03A /* Release */ = {
845 | isa = XCBuildConfiguration;
846 | buildSettings = {
847 | DEVELOPMENT_TEAM = R26BPY33GG;
848 | INFOPLIST_FILE = PushUITests/Info.plist;
849 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
850 | PRODUCT_BUNDLE_IDENTIFIER = com.slack.com.PushUITests;
851 | PRODUCT_NAME = "$(TARGET_NAME)";
852 | TEST_TARGET_NAME = Push;
853 | };
854 | name = Release;
855 | };
856 | E69E037C1EDE86510008DC73 /* Debug */ = {
857 | isa = XCBuildConfiguration;
858 | buildSettings = {
859 | ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-demo";
860 | CODE_SIGN_ENTITLEMENTS = Push/Push.entitlements;
861 | CODE_SIGN_IDENTITY = "iPhone Developer";
862 | DEVELOPMENT_TEAM = R26BPY33GG;
863 | INFOPLIST_FILE = "RichNotification copy-Info.plist";
864 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
865 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
866 | PRODUCT_BUNDLE_IDENTIFIER = "com.guesthouser.ghTest-MultipleTarget";
867 | PRODUCT_NAME = "$(TARGET_NAME)";
868 | };
869 | name = Debug;
870 | };
871 | E69E037D1EDE86510008DC73 /* Release */ = {
872 | isa = XCBuildConfiguration;
873 | buildSettings = {
874 | ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-demo";
875 | CODE_SIGN_ENTITLEMENTS = Push/Push.entitlements;
876 | CODE_SIGN_IDENTITY = "iPhone Developer";
877 | DEVELOPMENT_TEAM = R26BPY33GG;
878 | INFOPLIST_FILE = "RichNotification copy-Info.plist";
879 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
880 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
881 | PRODUCT_BUNDLE_IDENTIFIER = "com.guesthouser.ghTest-MultipleTarget";
882 | PRODUCT_NAME = "$(TARGET_NAME)";
883 | };
884 | name = Release;
885 | };
886 | E69E03CF1EDE9B890008DC73 /* Debug */ = {
887 | isa = XCBuildConfiguration;
888 | buildSettings = {
889 | CODE_SIGN_IDENTITY = "iPhone Developer";
890 | DEVELOPMENT_TEAM = R26BPY33GG;
891 | INFOPLIST_FILE = "$(SRCROOT)/NotificationService/Info-MultipleTarget.plist";
892 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
893 | PRODUCT_BUNDLE_IDENTIFIER = "com.guesthouser.ghTest-MultipleTarget.NotificationService-MultipleTarget";
894 | PRODUCT_NAME = "$(TARGET_NAME)";
895 | SKIP_INSTALL = YES;
896 | };
897 | name = Debug;
898 | };
899 | E69E03D01EDE9B890008DC73 /* Release */ = {
900 | isa = XCBuildConfiguration;
901 | buildSettings = {
902 | CODE_SIGN_IDENTITY = "iPhone Developer";
903 | DEVELOPMENT_TEAM = R26BPY33GG;
904 | INFOPLIST_FILE = "$(SRCROOT)/NotificationService/Info-MultipleTarget.plist";
905 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
906 | PRODUCT_BUNDLE_IDENTIFIER = "com.guesthouser.ghTest-MultipleTarget.NotificationService-MultipleTarget";
907 | PRODUCT_NAME = "$(TARGET_NAME)";
908 | SKIP_INSTALL = YES;
909 | };
910 | name = Release;
911 | };
912 | E6CDD7841EC465E80087544B /* Debug */ = {
913 | isa = XCBuildConfiguration;
914 | buildSettings = {
915 | CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
916 | CODE_SIGN_IDENTITY = "iPhone Developer";
917 | DEVELOPMENT_TEAM = R26BPY33GG;
918 | INFOPLIST_FILE = NotificationService/Info.plist;
919 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
920 | PRODUCT_BUNDLE_IDENTIFIER = com.guesthouser.ghTest.NotificationService;
921 | PRODUCT_NAME = "$(TARGET_NAME)";
922 | SKIP_INSTALL = YES;
923 | };
924 | name = Debug;
925 | };
926 | E6CDD7851EC465E80087544B /* Release */ = {
927 | isa = XCBuildConfiguration;
928 | buildSettings = {
929 | CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
930 | CODE_SIGN_IDENTITY = "iPhone Developer";
931 | DEVELOPMENT_TEAM = R26BPY33GG;
932 | INFOPLIST_FILE = NotificationService/Info.plist;
933 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
934 | PRODUCT_BUNDLE_IDENTIFIER = com.guesthouser.ghTest.NotificationService;
935 | PRODUCT_NAME = "$(TARGET_NAME)";
936 | SKIP_INSTALL = YES;
937 | };
938 | name = Release;
939 | };
940 | E6CDD7991EC471080087544B /* Debug */ = {
941 | isa = XCBuildConfiguration;
942 | buildSettings = {
943 | CODE_SIGN_ENTITLEMENTS = NotificationViewC/NotificationViewC.entitlements;
944 | CODE_SIGN_IDENTITY = "iPhone Developer";
945 | DEVELOPMENT_TEAM = R26BPY33GG;
946 | INFOPLIST_FILE = NotificationViewC/Info.plist;
947 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
948 | PRODUCT_BUNDLE_IDENTIFIER = com.guesthouser.ghTest.NotificationViewC;
949 | PRODUCT_NAME = "$(TARGET_NAME)";
950 | SKIP_INSTALL = YES;
951 | };
952 | name = Debug;
953 | };
954 | E6CDD79A1EC471080087544B /* Release */ = {
955 | isa = XCBuildConfiguration;
956 | buildSettings = {
957 | CODE_SIGN_ENTITLEMENTS = NotificationViewC/NotificationViewC.entitlements;
958 | CODE_SIGN_IDENTITY = "iPhone Developer";
959 | DEVELOPMENT_TEAM = R26BPY33GG;
960 | INFOPLIST_FILE = NotificationViewC/Info.plist;
961 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
962 | PRODUCT_BUNDLE_IDENTIFIER = com.guesthouser.ghTest.NotificationViewC;
963 | PRODUCT_NAME = "$(TARGET_NAME)";
964 | SKIP_INSTALL = YES;
965 | };
966 | name = Release;
967 | };
968 | /* End XCBuildConfiguration section */
969 |
970 | /* Begin XCConfigurationList section */
971 | E61AE1161EC341CA00F0D03A /* Build configuration list for PBXProject "RichNotification" */ = {
972 | isa = XCConfigurationList;
973 | buildConfigurations = (
974 | E61AE1461EC341CA00F0D03A /* Debug */,
975 | E61AE1471EC341CA00F0D03A /* Release */,
976 | );
977 | defaultConfigurationIsVisible = 0;
978 | defaultConfigurationName = Release;
979 | };
980 | E61AE1481EC341CA00F0D03A /* Build configuration list for PBXNativeTarget "RichNotification" */ = {
981 | isa = XCConfigurationList;
982 | buildConfigurations = (
983 | E61AE1491EC341CA00F0D03A /* Debug */,
984 | E61AE14A1EC341CA00F0D03A /* Release */,
985 | );
986 | defaultConfigurationIsVisible = 0;
987 | defaultConfigurationName = Release;
988 | };
989 | E61AE14B1EC341CA00F0D03A /* Build configuration list for PBXNativeTarget "RichNotificationTests" */ = {
990 | isa = XCConfigurationList;
991 | buildConfigurations = (
992 | E61AE14C1EC341CA00F0D03A /* Debug */,
993 | E61AE14D1EC341CA00F0D03A /* Release */,
994 | );
995 | defaultConfigurationIsVisible = 0;
996 | defaultConfigurationName = Release;
997 | };
998 | E61AE14E1EC341CA00F0D03A /* Build configuration list for PBXNativeTarget "RichNotificationUITests" */ = {
999 | isa = XCConfigurationList;
1000 | buildConfigurations = (
1001 | E61AE14F1EC341CA00F0D03A /* Debug */,
1002 | E61AE1501EC341CA00F0D03A /* Release */,
1003 | );
1004 | defaultConfigurationIsVisible = 0;
1005 | defaultConfigurationName = Release;
1006 | };
1007 | E69E037B1EDE86510008DC73 /* Build configuration list for PBXNativeTarget "RichNotificationMultipleTarget" */ = {
1008 | isa = XCConfigurationList;
1009 | buildConfigurations = (
1010 | E69E037C1EDE86510008DC73 /* Debug */,
1011 | E69E037D1EDE86510008DC73 /* Release */,
1012 | );
1013 | defaultConfigurationIsVisible = 0;
1014 | defaultConfigurationName = Release;
1015 | };
1016 | E69E03CE1EDE9B890008DC73 /* Build configuration list for PBXNativeTarget "NotificationService-MultipleTarget" */ = {
1017 | isa = XCConfigurationList;
1018 | buildConfigurations = (
1019 | E69E03CF1EDE9B890008DC73 /* Debug */,
1020 | E69E03D01EDE9B890008DC73 /* Release */,
1021 | );
1022 | defaultConfigurationIsVisible = 0;
1023 | defaultConfigurationName = Release;
1024 | };
1025 | E6CDD7831EC465E80087544B /* Build configuration list for PBXNativeTarget "NotificationService" */ = {
1026 | isa = XCConfigurationList;
1027 | buildConfigurations = (
1028 | E6CDD7841EC465E80087544B /* Debug */,
1029 | E6CDD7851EC465E80087544B /* Release */,
1030 | );
1031 | defaultConfigurationIsVisible = 0;
1032 | defaultConfigurationName = Release;
1033 | };
1034 | E6CDD7981EC471080087544B /* Build configuration list for PBXNativeTarget "NotificationViewC" */ = {
1035 | isa = XCConfigurationList;
1036 | buildConfigurations = (
1037 | E6CDD7991EC471080087544B /* Debug */,
1038 | E6CDD79A1EC471080087544B /* Release */,
1039 | );
1040 | defaultConfigurationIsVisible = 0;
1041 | defaultConfigurationName = Release;
1042 | };
1043 | /* End XCConfigurationList section */
1044 | };
1045 | rootObject = E61AE1131EC341CA00F0D03A /* Project object */;
1046 | }
1047 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/project.xcworkspace/xcuserdata/gh.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/avish07/RichNotifications/8a5c388f8b90352cd59b88a5d057c60377c9a60c/RichNotification.xcodeproj/project.xcworkspace/xcuserdata/gh.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/xcuserdata/gh.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/NotificationService-MultipleTarget.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
6 |
9 |
10 |
16 |
22 |
23 |
24 |
30 |
36 |
37 |
38 |
39 |
40 |
45 |
46 |
47 |
48 |
54 |
55 |
56 |
57 |
58 |
59 |
70 |
72 |
78 |
79 |
80 |
81 |
82 |
83 |
90 |
92 |
98 |
99 |
100 |
101 |
103 |
104 |
107 |
108 |
109 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/NotificationService.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
6 |
9 |
10 |
16 |
22 |
23 |
24 |
30 |
36 |
37 |
38 |
39 |
40 |
45 |
46 |
47 |
48 |
54 |
55 |
56 |
57 |
58 |
59 |
70 |
72 |
78 |
79 |
80 |
81 |
82 |
83 |
90 |
92 |
98 |
99 |
100 |
101 |
103 |
104 |
107 |
108 |
109 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/NotificationViewC.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
6 |
9 |
10 |
16 |
22 |
23 |
24 |
30 |
36 |
37 |
38 |
39 |
40 |
45 |
46 |
47 |
48 |
54 |
55 |
56 |
57 |
58 |
59 |
70 |
72 |
78 |
79 |
80 |
81 |
82 |
83 |
90 |
92 |
98 |
99 |
100 |
101 |
103 |
104 |
107 |
108 |
109 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/RichNotification.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
61 |
62 |
63 |
64 |
74 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/RichNotificationMultipleTarget.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/RichNotification.xcodeproj/xcuserdata/gh.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | NotificationService-MultipleTarget.xcscheme
8 |
9 | orderHint
10 | 7
11 |
12 | NotificationService.xcscheme
13 |
14 | orderHint
15 | 3
16 |
17 | NotificationViewC.xcscheme
18 |
19 | orderHint
20 | 4
21 |
22 | RichNotification.xcscheme
23 |
24 | orderHint
25 | 0
26 |
27 | RichNotificationMultipleTarget.xcscheme
28 |
29 | orderHint
30 | 5
31 |
32 |
33 | SuppressBuildableAutocreation
34 |
35 | E603A2FC1EC45BB9006CDD00
36 |
37 | primary
38 |
39 |
40 | E61AE11A1EC341CA00F0D03A
41 |
42 | primary
43 |
44 |
45 | E61AE1331EC341CA00F0D03A
46 |
47 | primary
48 |
49 |
50 | E61AE13E1EC341CA00F0D03A
51 |
52 | primary
53 |
54 |
55 | E61AE1551EC3499A00F0D03A
56 |
57 | primary
58 |
59 |
60 | E69E036C1EDE86510008DC73
61 |
62 | primary
63 |
64 |
65 | E69E03A31EDE8FFD0008DC73
66 |
67 | primary
68 |
69 |
70 | E69E03B31EDE9A960008DC73
71 |
72 | primary
73 |
74 |
75 | E69E03C41EDE9B890008DC73
76 |
77 | primary
78 |
79 |
80 | E6CDD7791EC465E80087544B
81 |
82 | primary
83 |
84 |
85 | E6CDD7891EC471070087544B
86 |
87 | primary
88 |
89 |
90 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/notification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/avish07/RichNotifications/8a5c388f8b90352cd59b88a5d057c60377c9a60c/notification.png
--------------------------------------------------------------------------------