Swift, Objective-C, Or Both?

Jay Ayres posted January 11, 2016
If you are a developer of a native iOS app written in Objective-C, the topic has likely come up whether it is worth switching your app to use Swift, and if so, when, and how. TripAdvisor is no exception, and with hundreds of thousands of lines of Objective-C code in our flagship app, we have had a huge decision to make on this topic. It is unrealistic for TripAdvisor to…
Full Article

Augmented reality on the iPad

Jay Ayres posted September 14, 2015
Another blast from the past, this time related to what was then the new and shiny iPad. We are very excited to announce a brand new Virtual Tours feature for our TripAdvisor iPad app, code-named “OwlCam”. When the iPad launched last April, one noticeable shortcoming was its lack of camera, preventing augmented reality apps from really taking off on the platform. However, augmented reality is such a great tool for…
Full Article

Optimizing image sprites for high-density displays with SVG

Jay Ayres posted August 31, 2015
Note: we first published this article several years ago on our old blog. We're republishing today based both on recent staff experiences and on receiving questions on the topic from interview candidates. Image spriting is a well-known technique for improving webpage load performance. Performance is greatly improved by reducing the total number of resource requests to the server, whether those resources are CSS files, Javascript files, or image files. Spriting…
Full Article