From f8350961cf525a5fa3ada9733e6ffa9df397e2a4 Mon Sep 17 00:00:00 2001 From: Frank Schmitt Date: Thu, 14 Jan 2016 17:45:06 -0800 Subject: [PATCH] Fix duplicate method --- ApptentiveConnect/source/Misc/ATUtilities.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ApptentiveConnect/source/Misc/ATUtilities.m b/ApptentiveConnect/source/Misc/ATUtilities.m index f9e5b7a00..4a11dec17 100644 --- a/ApptentiveConnect/source/Misc/ATUtilities.m +++ b/ApptentiveConnect/source/Misc/ATUtilities.m @@ -463,12 +463,6 @@ + (NSString *)stringByEscapingForPredicate:(NSString *)string { return CFBridgingRelease(result); } -+ (NSString *)stringByEscapingForPredicate:(NSString *)string { - CFStringRef result = CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)string, (CFStringRef) @"$#", (CFStringRef)NULL, kCFStringEncodingUTF8); - - return CFBridgingRelease(result); -} - + (NSString *)randomStringOfLength:(NSUInteger)length { static NSString *letters = @"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; NSMutableString *result = [NSMutableString stringWithString:@""];