Fundamentally, the class does nothing exceptional that iOS devs would not have done before; it searches the device to see whether Chrome is installed, and, if it is, it will pass the handling of the URL to Chrome.
What is new is the way that Chrome handles being passed this URL with the addition of a back button that notifies the user that they will be passed back to another application.
It's a decent piece of design by Google.
As someone who is primarily an Android user, there is one stand-out gripe with iOS that appears whenever I return to an Apple device: the lack of support for a default browser.
If you love Safari, then the immutable selection by Apple to make the browser solely responsible for handling URLs is one of those "it just works" moments. But if you've moved beyond using Apple's in-house apps, then you're in for a world of pain that is presumably punishment for not doing it the Apple way.
The results of this core design decision by Apple are strewn throughout the app ecosystem. Why should my Twitter client need to handle URL loading in a web view? Surely that activity would be better handled from a dedicated browser app, rather than a wrapped browser-like widget. Typically, there is no support for browser-like activities, such as bookmarking, syncing, or searching for a word/phrase in these web views, either.
Each time I use an iPhone, these thoughts return, and it makes me appreciate Android's Intent system all the more. It's one of the few unique things that Android users can genuinely boast to users of other mobile operating systems.
If only Google would learn from this, and provide the same sort of "you are about to return to another app" notification on Android. Imagine being able to avoid getting lost in the Android back button maze that can occur when you untombstone an app.
Google has already taken it a step further this week by providing the ability to launch Google Maps, Chrome, and YouTube from its iOS Gmail app.
It is Intents of a kind — the kind that keeps you locked into Google's ecosystem on iOS.
As someone who has by and large replaced Apple's default apps with their Google equivalents, it'll have to do for now.
Some would say that it is a long way from software engineering to journalism, others would correctly argue that it is a mere 10 metres according to the floor plan.During his first five years with CBS Interactive, Chris started his journalistic adventure in 2006 as the Editor of Builder AU after originally joining the company as a programmer.Leaving CBS Interactive in 2010 to follow his deep desire to study the snowdrifts and culinary delights of Canada, Chris based himself in Vancouver and paid for his new snowboarding and poutine cravings as a programmer for a lifestyle gaming startup.Chris returns to CBS in 2011 as the Editor of TechRepublic Australia determined to meld together his programming and journalistic tendencies once and for all.In his free time, Chris is often seen yelling at different operating systems for their own unique failures, avoiding the dreaded tech support calls from relatives, and conducting extensive studies of internets — he claims he once read an entire one.