Making UISwitch Useful in a UITableView with Groups or Sections

I just had a progasm1. I was creating a UITableView that had multiple groups with multiple rows in each group. Each row had a UISwitch. The intent was to update a price label every time a UISwitch value (on/off) changed. However, figuring out which row and section, trigged the event was not straightforward. After doing some research it seemed like most people were using a hack where they would set the UISwitch tag property to the indexPath.
Read more

How the Canon 5D Mark III Killed my iPhone 4S

Nearly two years ago I wrote about how the iPhone greatly impacted the usage of my Canon 5D Mark II. A quick summary: the iPhone camera got to be so good that I used it instead of my DSLR not only because of the photo quality but because of how easy it was then to post photos online. Fortunately technology changes. Canon 5D Mark III + Eye-Fi = AWESOMENESS I have had my eye on the Eye-Fi for years.
Read more

Network Throttle for iOS Development

All iOS developers must know about this handy-dandy tool by Mike Schrag: speedlimit is a Leopard [works on Lion too] preference pane for limiting your network bandwidth to one of a couple different speeds—768k DSL, Edge, 3G, and Dialup. This is really handy for testing your iPhone app under normal Edge network conditions in the iPhone Simulator. The new version allows you to restrict the slowdown to only a specific set of hosts.
Read more

Jekyll Link Posts with Keyboard Maestro

This has been a big week of knocking down the Jekyll publishing barriers. Automating the Jekyll publishing process was the first big one. As I stated in that post, it still is not perfect, but much, much better than the default Jekyll behavior. Next, I tweaked Jekyll so I could publish link posts, but what good is that feature unless I can publish them lickety-split? Luckily I remembered that Ben Brooks posted on this topic recently (turns out it was just over a year ago).
Read more

Link Posts with Jekyll

Now that I have Jekyll publishing automated, why not do link posts? For one, Jekyll does not support link posts out of the box. However, Tuan Anh figured out how to tweak Jekyll to support link posts: Posting Link Post in Jekyll by Tuan Anh Tran. This is the code I used to modify my post.html file (in the _layouts directory): {% if page.link %} <h2><a href="{{ page.link }}">{{ page.
Read more