GMSAutocompleteMatchFragment Class Reference

GMSAutocompleteMatchFragment Class Reference

Overview

This class represents a matched fragment of a string.

This is a contiguous range of characters in a string, suitable for highlighting in an autocompletion UI.

Properties

NSUInteger offset
 The offset of the matched fragment.
NSUInteger length
 The length of the matched fragment.

Property Documentation

- (NSUInteger) offset [read, assign]

The offset of the matched fragment.

This is an index into a string. The character at this index is the first matched character.

- (NSUInteger) length [read, assign]

The length of the matched fragment.