Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 18.3 ('Machine Learning')
Instant purchase and download via GumRoad!


Xojo Maps, Part 4

Finding and Displaying Addresses with the MapKitMBS plugin

Issue: 18.3 (May/June 2020)
Author: Markus Winter
Author Bio: Markus is a Molecular Biologist who taught himself REALbasic programming in 2003 to let the computer deal with some exceedingly tedious lab tasks. Some call it lazy, he thinks it smart. He still thinks of himself as an advanced beginner at best.
Article Description: No description available.
Article Length (in bytes): 23,302
Starting Page Number: 70
Article Number: 18306
Resource File(s):

Download Icon project18306.zip Updated: 2020-05-01 11:31:21

Related Link(s): None

Excerpt of article text...

In Part 3 of this series, we determined how to do the searching; this time we'll have a closer look at how Apple does it and what we get back from our searches. The easier one to deal with is MKLocalSearch, so let's get started on that one.


Now MKLocalSearch is very simple to use, especially when we take advantage of its ability to process natural language queries.

An overview of the MBS example program's structure and logic was given in part 2 of this series, so in Figure 1 you'll see a slightly simplified version of the same diagram.

In the MapKit Local Search example (included with the MBS plugins) we had to fix the NilObjectsException that we get in the first line of the SearchFinished event when we run the example and hit the Return key.

But there are still a few problems, as we noted, that need fixing. Namely:

...End of Excerpt. Please purchase the magazine to read the full article.