fileSize()
Returns the file’s size, in bytes.
Declaration
func fileSize() -> UInt64Return Value
The value associated with the size key, as a UInt64 in Swift (unsigned long long in Objective-C), or 0 if the file attributes dictionary has no entry for the key.