Enumerates all the lines in a string.
- iOS 4.0+
- macOS 10.6+
- tvOS 9.0+
- watchOS 2.0+
The block executed for the enumeration.
The block takes two arguments:
The current line of the string being enumerated. The line contains just the contents of the line, without the line terminators. See
getfor a discussion of line terminators.
Line Start(_: end: contents End: for:)
A reference to a Boolean value that the block can use to stop the enumeration by setting
*stop = YES; it should not touch