Platforms to show: All Mac Windows Linux Cross-Platform
MKLocalSearchCompletionMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
You do not create instances of this class directly. Instead, you use an MKLocalSearchCompleterMBS to initiate a search based on a set of partial search strings. That object stores any matches in its results property. Retrieve any MKLocalSearchCompletionMBS objects from that property and display the search terms in your interface or use one to initiate a search for content based on that search term.
When displaying text completions for a partial search term in your user interface, you might want to use a bold version of a font or add some other highlighting to the portion of the completion string that caused it to match the partial search term. To help you add this styling, the completion object includes highlight ranges for the title and subtitle strings.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- 3 methods
- method Constructor Private
- method subtitleHighlightRanges as NSRangeMBS()
- method titleHighlightRanges as NSRangeMBS()
This class has no sub classes.
Some methods using this class:
- MKLocalSearchCompleterMBS.results as MKLocalSearchCompletionMBS()
- MKLocalSearchRequestMBS.Constructor(completion as MKLocalSearchCompletionMBS)
Some examples using this class:
Blog Entries
Xojo Developer Magazine
- 18.3, page 77: Xojo Maps, Part 4, Finding and Displaying Addresses with the MapKitMBS plugin by Markus Winter
- 18.3, page 74: Xojo Maps, Part 4, Finding and Displaying Addresses with the MapKitMBS plugin by Markus Winter
- 17.6, page 36: Maps Part 2, Implementing Maps in Xojo desktop apps with the MapKitMBS plugin by Markus Winter
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKLocalSearchCompleterMBS - MKLocalSearchMBS