GMSAutocompleteMatchFragment.h 762 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // GMSAutocompleteMatchFragment.h
  3. // Google Maps SDK for iOS
  4. //
  5. // Copyright 2014 Google Inc.
  6. //
  7. // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
  8. // Service: https://developers.google.com/maps/terms
  9. //
  10. /**
  11. * This class represents a matched fragment of a string. This is a contiguous range of characters
  12. * in a string, suitable for highlighting in an autocompletion UI.
  13. */
  14. @interface GMSAutocompleteMatchFragment : NSObject
  15. /**
  16. * The offset of the matched fragment. This is an index into a string. The character at this index
  17. * is the first matched character.
  18. */
  19. @property(nonatomic, readonly) NSUInteger offset;
  20. /**
  21. * The length of the matched fragment.
  22. */
  23. @property(nonatomic, readonly) NSUInteger length;
  24. @end