Enumerationswift 6.0.1Foundation
CountStyle
enum CountStyle
enum CountStyle
import Foundation
class ByteCountFormatter
case binary
case decimal
case file
case memory
override init()
required init?(coder: NSCoder)
class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
var allowedUnits: ByteCountFormatter.Units
var allowsNonnumericFormatting: Bool
var countStyle: ByteCountFormatter.CountStyle
var formattingContext: Formatter.Context
var includesActualByteCount: Bool
var includesCount: Bool
var includesUnit: Bool
var isAdaptive: Bool
var zeroPadsFractionDigits: Bool
override func encode(with coder: NSCoder)
override func string(for obj: Any?) -> String?
func string(fromByteCount byteCount: Int64) -> String
struct Units
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: Int)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)