aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSDictionary+URLArguments.m
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-13 12:46:39 -0800
committerGravatar GitHub <noreply@github.com>2018-11-13 12:46:39 -0800
commit85341176f85a73b94c1d785126d9e17c628287a3 (patch)
tree1f73695b32a212019e8ca38fa06cb5175f119a41 /Foundation/GTMNSDictionary+URLArguments.m
parenta72981b4f4156d7ae5f184e4a7155b6817f0fda3 (diff)
Add deprecation warnings on URLArgument categories. (#198)
The URLArgument categories should be replaced with usages of NSURLComponents and NSURLItems.
Diffstat (limited to 'Foundation/GTMNSDictionary+URLArguments.m')
-rw-r--r--Foundation/GTMNSDictionary+URLArguments.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Foundation/GTMNSDictionary+URLArguments.m b/Foundation/GTMNSDictionary+URLArguments.m
index e9fa766..612ba5b 100644
--- a/Foundation/GTMNSDictionary+URLArguments.m
+++ b/Foundation/GTMNSDictionary+URLArguments.m
@@ -26,6 +26,9 @@
__attribute__((visibility("default")))
char GTMNSDictionaryURLArgumentsExportToSuppressLibToolWarning = 0;
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMNSString+URLArguments
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@implementation NSDictionary (GTMNSDictionaryURLArgumentsAdditions)
@@ -75,3 +78,5 @@ GTM_METHOD_CHECK(NSString, gtm_stringByUnescapingFromURLArgument);
}
@end
+
+#pragma clang diagnostic pop