URL
struct URL : ReferenceConvertible, Equatable
-
Returns convert query to Dictionary
Declaration
Swift
public var queryParameters: [String: String]?
-
Returns remote size of url, don’t use it in main thread
Declaration
Swift
public func remoteSize(_ completionHandler: @escaping ((_ contentLength: Int64) -> Void), timeoutInterval: TimeInterval = 30)
-
Returns server supports resuming or not, don’t use it in main thread
Declaration
Swift
public func supportsResume(_ completionHandler: @escaping ((_ doesSupport: Bool) -> Void), timeoutInterval: TimeInterval = 30)
-
Compare two URLs
Declaration
Swift
public func isSameWithURL(_ url: URL) -> Bool
-
Returns true if given file is a directory
Declaration
Swift
public var fileIsDirectory: Bool
-
File modification date, nil if file doesn’t exist
Declaration
Swift
public var fileModifiedDate: Date?
-
File creation date, nil if file doesn’t exist
Declaration
Swift
public var fileCreationDate: Date?
-
Returns last file access date, nil if file doesn’t exist or not yet accessed
Declaration
Swift
public var fileAccessDate: Date?
-
Returns file size, -1 if file doesn’t exist
Declaration
Swift
public var fileSize: Int64
-
File is hidden or not, don’t care about files beginning with dot
Declaration
Swift
public var fileIsHidden: Bool
-
Checks if file is writable
Declaration
Swift
public var fileIsWritable: Bool
-
EZSE: File thubmnail saved in system or iCloud in form of 1024pxx1024px
Declaration
Swift
var fileThumbnail1024px: UIImage?
-
EZSE: Set SkipBackup attrubute of file or directory in iOS. return current state if no value is set
Declaration
Swift
public func skipBackupAttributeToItemAtURL(_ skip: Bool? = nil) -> Bool
-
Undocumented
Declaration
Swift
func thumbnailForVideoAtURL() -> UIImage?