Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
30 lines (21 sloc) 0.728 kB
//
// NSString+DTURLEncoding.h
// DTFoundation
//
// Created by Oliver Drobnik on 4/16/12.
// Copyright (c) 2012 Cocoanetics. All rights reserved.
//
/**
A collection of useful additions for `NSString` to deal with URL encoding.
*/
@interface NSString (DTURLEncoding)
/**-------------------------------------------------------------------------------------
@name Encoding Strings for URLs
---------------------------------------------------------------------------------------
*/
/** Encoding suitable for use in URLs.
stringByAddingPercentEscapes does not replace serveral characters which are problematics in URLs.
@return The encoded version of the receiver.
*/
- (NSString *)stringByURLEncoding;
@end
Jump to Line
Something went wrong with that request. Please try again.