Google Maps Utilities for iOS

“This open-source library contains classes that are useful for a wide range of applications using the Google Maps SDK for iOS.”

Here are the two primary takeaways :

  1. Display of a large number of points
  2. Indexes 2D geometry points & performs 2D range queries

Continue reading

Writing Your First Xcode 8 Extension in Swift

With the release of Xcode 8, Apple changed up a few things, including the option to inject code into Xcode at runtime. And with that, plugins as we know them are no more.

However, Apple announced that Xcode 8 now has “official” support for creating editor extensions. There are some limitations (e.g. no UI) yet we’re on the right track (read no hacks required). Even better, given each extension is a macOS app, you can distribute your extensions on the Mac App Store!

In this post by Patrick Balestra describes how to create an extensionthat transforms any closure to use the simpler and cleaner syntax.

Writing Your First Xcode 8 Extension in Swift

Using and Extending the Xcode Source Editor from WWDC 2016.

Automatically Notify Users of a New Version of Your App

Arthur Ariel Sabintsev’s Siren project notifies a user when the version of an app installed on device is older than the version in the App Store. The project supports version numbers with two to four increments (1.x to 1.x.x.x).

One particular feature of interest is the various options for notifying the user – force an upgrade; prompt for now or later; or offer options to update now, later or next time the app is started.

Siren is a Swift port of the Objective-C project Harpy.