From 85341176f85a73b94c1d785126d9e17c628287a3 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Tue, 13 Nov 2018 12:46:39 -0800 Subject: Add deprecation warnings on URLArgument categories. (#198) The URLArgument categories should be replaced with usages of NSURLComponents and NSURLItems. --- Foundation/GTMNSDictionary+URLArgumentsTest.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Foundation/GTMNSDictionary+URLArgumentsTest.m') diff --git a/Foundation/GTMNSDictionary+URLArgumentsTest.m b/Foundation/GTMNSDictionary+URLArgumentsTest.m index 11ceb8a..f07e970 100644 --- a/Foundation/GTMNSDictionary+URLArgumentsTest.m +++ b/Foundation/GTMNSDictionary+URLArgumentsTest.m @@ -20,6 +20,10 @@ #import "GTMNSDictionary+URLArguments.h" #import "GTMDefines.h" +#pragma clang diagnostic push +// Ignore all of the deprecation warnings for GTMNSDictionary+URLArguments +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + @interface GTMNSDictionary_URLArgumentsTest : GTMTestCase @end @@ -85,3 +89,5 @@ } @end + +#pragma clang diagnostic pop -- cgit v1.2.3