Created
April 30, 2013 16:53
-
-
Save danielphillips/5490060 to your computer and use it in GitHub Desktop.
Show off all of an NSURL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSDictionary *urlStuff = @{ | |
@"absoluteString" : URL.absoluteString ? URL.absoluteString : @"nil", | |
@"relativeString" : URL.relativeString ? URL.relativeString : @"nil", | |
@"scheme" : URL.scheme ? URL.scheme : @"nil", | |
@"resourceSpecifier" : URL.resourceSpecifier ? URL.resourceSpecifier : @"nil", | |
@"host" : URL.host ? URL.host : @"nil", | |
@"port" : URL.port ? URL.port : @"nil", | |
@"user" : URL.user ? URL.user : @"nil", | |
@"password" : URL.password ? URL.password : @"nil", | |
@"path" : URL.path ? URL.path : @"nil", | |
@"fragment" : URL.fragment ? URL.fragment : @"nil", | |
@"parameterString" : URL.parameterString ? URL.parameterString : @"nil", | |
@"query" : URL.query ? URL.query : @"nil", | |
@"relativePath" : URL.relativePath ? URL.relativePath : @"nil" | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment