Instance Method

resultByAdjustingRangesWithOffset:

Returns a new text checking result after adjusting the ranges as specified by the offset.

Declaration

- (NSTextCheckingResult *)resultByAdjustingRangesWithOffset:(NSInteger)offset;

Parameters

offset

The amount the ranges are adjusted.

Return Value

A new NSTextCheckingResult instance with the adjusted range or ranges.