This file contains hidden or 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
These values are returned as the error code property of an NSError object with the domain “NSURLErrorDomain”. | |
Declaration | |
SWIFT | |
var NSURLErrorUnknown: Int { get } | |
var NSURLErrorCancelled: Int { get } | |
var NSURLErrorBadURL: Int { get } | |
var NSURLErrorTimedOut: Int { get } | |
var NSURLErrorUnsupportedURL: Int { get } | |
var NSURLErrorCannotFindHost: Int { get } |
This file contains hidden or 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
BIG iOS URL SCHEME LIST | |
HAD TO MAKE A DROPBOX FILE BECAUSE THIS LIST WAS TOO LONG TO POST IN THE COMMENTS OR NOT MAKE THE WORKFLOW APP TAKE FOREVER TO READ IT. | |
☠JAILBREAK/SYSTEM APPS | |
-------------------------- | |
activator:// | |
itms-apps:// | |
itms-services:// |
This file contains hidden or 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
internal let DEFAULT_MIME_TYPE = "application/octet-stream" | |
internal let mimeTypes = [ | |
"html": "text/html", | |
"htm": "text/html", | |
"shtml": "text/html", | |
"css": "text/css", | |
"xml": "text/xml", | |
"gif": "image/gif", | |
"jpeg": "image/jpeg", |