Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (21 sloc) 728 Bytes
// 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;
Jump to Line
Something went wrong with that request. Please try again.