Skip to content

Instance MethodFoundationEssentials

makeIterator()

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
Returns an iterator over the contents of the data.
func makeIterator() -> Data.Iterator

Discussion

The iterator will increment byte-by-byte.