|
|
@ -257,9 +257,8 @@ |
|
|
|
*/ |
|
|
|
- (NSArray *) componentsSeparatedByCString: (const char *) theCString; |
|
|
|
|
|
|
|
/// Like `componentsSeparatedByCString`, but calls the given block with each result and the current count. |
|
|
|
/// The block will be invoked for every component, together with its count and a boolean denoting if it's the last element. |
|
|
|
/// @note Uses `subdataUncopiedWithRange` to produce the `NSData` parts. |
|
|
|
/// Like `componentsSeparatedByCString`, but calls the given block with each component, the current count, . |
|
|
|
/// and a boolean denoting if it's the last element. |
|
|
|
- (void)componentsSeparatedByCString:(const char *)theCString |
|
|
|
block:(void (^)(NSData *aLine, NSUInteger count, BOOL isLast))block; |
|
|
|
|
|
|
|