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:@""];