NSURL(NSURLAdditions) Category Reference
Declared in |
NSURLAdditions.h NSURLAdditions.m |
Tasks
-
– URLByMakingThisURLUseHTTPS
Return a new URL identical to this one except its using https. If this URL is already using https then it is returned. If this URL does not use http then nil is returned.
-
– URLByMakingThisURLUseHTTP
Return a new URL identical to this one except its using http. If this URL is already using http then it is returned. If this URL does not use https then nil is returned.
-
– queryValueForKey:
Return value of a query parameter identified by queryKey. If none were find, return NIL.
-
– queryUpToHash
Returns query string up to hash mark (if one exists)
Instance Methods
URLByMakingThisURLUseHTTP
Return a new URL identical to this one except its using http. If this URL is already using http then it is returned. If this URL does not use https then nil is returned.
- (NSURL *)URLByMakingThisURLUseHTTP
Discussion
Return a new URL identical to this one except its using http. If this URL is already using http then it is returned. If this URL does not use https then nil is returned.
Declared In
NSURLAdditions.h
URLByMakingThisURLUseHTTPS
Return a new URL identical to this one except its using https. If this URL is already using https then it is returned. If this URL does not use http then nil is returned.
- (NSURL *)URLByMakingThisURLUseHTTPS
Discussion
Return a new URL identical to this one except its using https. If this URL is already using https then it is returned. If this URL does not use http then nil is returned.
Declared In
NSURLAdditions.h