TheJoyOfHack

For people who like to make things


Optionals In Swift

I’d like to share with you the way I teach optionals in Swift. I’m pretty sure I’m not the first person who thought of this method, but since I haven’t seen anyone else write this up, I’ve taken it upon myself to do so.

more ...


Giving Back

Different people have different gifts. Some excel at their profession, others are talented at various arts, while yet others are blessed with strength or wealth. Once you know what your gift is, it’s time to consider using it to help others.

more ...

Learning About Your Product

Today’s post will be short and sweet. I want to share something that worked for me really well when I recently started my new job. There are a few existing iOS products for which I will have to become the primary developer. I needed to come up to speed on these products quickly. I started of the way we developers normally do: read internal documentation, examine the Main.storyboard file, look at the AppDelegate.m file. But then I got a good idea. I asked the salespeople to demo the product to me, as if I were a prospective customer.

more ...

Performance Improvement with FMDB

Looking out at Hyderabad
Looking out at Hyderabad

When you have to execute SQL statements inside large loops, you may find that your app slows down considerably. In this post I show you one way of improving the performance of your app when database access is the bottleneck.

more ...