---
title: ByteCountFormatter.CountStyle.memory
framework: foundation
role: symbol
role_heading: Case
path: foundation/bytecountformatter/countstyle-swift.enum/memory
---

# ByteCountFormatter.CountStyle.memory

Specifies display of memory byte counts. The actual behavior for this is platform-specific; in macOS 10.8, this uses the binary style, but that may change over time.

## Declaration

```swift
case memory
```

## See Also

### Constants

- [ByteCountFormatter.CountStyle.file](foundation/bytecountformatter/countstyle-swift.enum/file.md)
- [ByteCountFormatter.CountStyle.decimal](foundation/bytecountformatter/countstyle-swift.enum/decimal.md)
- [ByteCountFormatter.CountStyle.binary](foundation/bytecountformatter/countstyle-swift.enum/binary.md)
