Game Development Reference
In-Depth Information
if theCallback then
theCallback()
end
end
end
print("Loop ended")
end
mainLoop() -- call the loop without a callback set
theCallback = callback -- set the callback
mainLoop() -- call the loop with a callback set
Using Maps
One of the features of the iOS platform that sparked the interest of many developers was the ability
to place maps in an application, as shown in Figure 8-18 . UIMapKit (created by Apple) was a bit too
complicated, since it involved a series of steps to display a map on the screen.
Figure 8-18. Map showing the Great Barrier Reef with a callout and a pin
 
Search WWH ::




Custom Search