allowedUnits
Specify the units that can be used in the output.
Declaration
var allowedUnits: ByteCountFormatter.Units { get set }Discussion
If the value is NSByteCountFormatterUseDefault, the formatter uses platform-appropriate settings; otherwise will only the specified units are used.
ByteCountFormatter.Units values can be combined using the C OR operator to specify complex formatting strings. The NSByteCountFormatterUseDefault or useAll constants can be used with the C AND or the C NOT operators to create custom formats as well.
This is the default value if NSByteCountFormatterUseDefault.