Detecting Retina display with Titanium Appcelerator
Spent a while looking around for this – turned out to be easier than I imagined! var retina = false; if (Titanium.Platform.model==’iPhone 4′){ retina = true; }
The personal blog of a web & mobile developing maestro, based in Manchester, UK. I love clever stuff, faraway places and things that go fast.
Spent a while looking around for this – turned out to be easier than I imagined! var retina = false; if (Titanium.Platform.model==’iPhone 4′){ retina = true; }
Had a fairly eventful day building an API teamed with a bespoke Codeigniter-driven content management system, and fell into a few problems when POST’ing information from the CMS to my web service. I’ve put together a quick + dirty function that’ll get you started, and I’ll publish a more in-depth post later, with a dedicated Codeigniter library.
Read post
There’s been a lot of speculation recently about the next generation of the top text editors us developers are using day to day on our OSX based machines. I share my feature wish list for my editor of choice, Coda.
Read post