TheJoyOfHack

For people who like to make things

Rotation and Adaptive Layouts

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.

more ...

Hello, World” on the iPhone

Hello World on the iPhone
Hello World on the iPhone

Yesterday I started learning how to write applications for the iPad and the iPhone.  There are so many books that promise to teach you everything you need to know that picking one or two (or three) can be very difficult.  While I normally like to learn new skills by reading a good book, I think for iOS development a more dynamic source would be a better choice. more ...


Sometimes Testing Isn’t Enough

A bee.  Buzzing.
A bee. Buzzing.

In the first few days after the release of Google Buzz many people (including myself) criticized Google for exposing their users’ private information.  This was a couple of weeks after Apple got a lot flak for their unfortunately-named iPad, and the same week that we heard reports of a woman who broke up with her boyfriend after finding some suggestive text messages on his cell phone - messages that came pre-loaded on the phone.  I think that all these cases were not caused by a lack testing, but by testing the wrong audience.  Let’s examine these three cases and see what we can learn from them: more ...