Another in a series of posts documenting my process of updating an aging app.
For this rewrite of Qur’an Memorizer I’m using Auto Layout. This is the first time I’ve used Auto Layout for this app. You know when the Apple Engineers said Auto Layout makes things easy? They weren’t kidding. Even though Qur’an Memorizer has some unique behaviors for autorotation, I was able to implement this in a few hours with Auto Layout and about 25 lines of code. Read on to see what I did.
It’s been more than three years, but I’m finally updating my most popular app, Qur’an Memorizer. This is the first in a series of blog posts tagged with QMUpgrade, where I’ll write about the issues I faced updating an aging app.
One of the features of Qur’an Memorizer, my
first iOS app, is the ability to highlight a verse (ayah) when it’s
tapped. To do this I access a database of verse x and y locations and
retrieve the 4 coordinates I need to draw the resulting polygon.
The first version of the code released to the App Store looked a little
bit like this: