From 90f849397d56f34aa2367a4b9bf7e0aaffa331e6 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Wed, 12 Dec 2018 11:08:56 -0500 Subject: [PATCH 1/2] top alert above text image --- MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.h | 3 ++- MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.m | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.h b/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.h index faeefee..5a4b587 100644 --- a/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.h +++ b/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.h @@ -38,8 +38,9 @@ extern NSUInteger const TopAlertDismissTime; // The page type used for the top alert @property (nullable, strong, nonatomic) NSString *pageType; -// image name or url used when iconView is an image +// image name or url used imageviews @property (nullable, strong, nonatomic) NSString *imageNameOrURL; +@property (nullable, strong, nonatomic) NSString *aboveTextImageString; // If 0, uses default 5 seconds. @property (nonatomic) NSInteger topAlertDismissTime; diff --git a/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.m b/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.m index b6aaf91..cd46d1c 100644 --- a/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.m +++ b/MVMCore/MVMCore/AlertHandling/MVMCoreTopAlertObject.m @@ -28,6 +28,7 @@ NSUInteger const TopAlertDismissTime = 5; self.buttonMap = [responseInfo dict:KeyButtonMap]; self.topMessage = [responseInfo string:KeyTopMessage]; self.imageNameOrURL = [responseInfo string:@"topAlertImageUrl"]; + self.aboveTextImageString = [responseInfo string:@"topAlertImageURLAboveText"]; NSString *color = [responseInfo string:@"topAlertColor"]; if (color) { From b7a0423c061fe251daa102063d7d02a37eb10dc4 Mon Sep 17 00:00:00 2001 From: "Suresh, Kamlesh" Date: Fri, 14 Dec 2018 15:03:28 -0500 Subject: [PATCH 2/2] print cookie --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m index a3b244e..094fdb4 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m @@ -333,6 +333,11 @@ } } + MVMCoreLog(@"********************************* Cookie Sent *********************************"); + [[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies] enumerateObjectsUsingBlock:^(NSHTTPCookie * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { + MVMCoreLog(@"Cookie Name: %@, Cookie Value: %@",obj.name, obj.value); + }]; + [[NSNotificationCenter defaultCenter] postNotificationName:MVMCoreNotificationGoingToServer object:nil]; NSURLSessionTask *task = [session dataTaskWithRequest:request completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) {