Tag

Best Practices

7 posts filed under this tag.

April 26, 2013

The Next Thing

I debated about what to write about today, especially in the wake of yesterday's WWDC ticket frenzy, the subsequent online screaming about it, and everything else. I think in th...

Read more

February 1, 2013

Unit Testing for Fun and Profit

How do you know if your code works? You test it of course. But, how do you test your code? Do you run it in the simulator? On your device? Is that enough? The simple answer is:...

Read more

January 18, 2013

Later Never Comes

What is the cost of expedience? Answer: Technical debt. How often have you had to solve a problem quickly, knowing that your solution was correct (i.e. it works), but not really...

Read more

November 9, 2012

Pro Tip: Data Types Matter

I made a stupid mistake recently, which cost me more than a few hours of time to figure out. But I learned a couple things: Xcode will let you dig as deep a hole as you like, de...

Read more

June 8, 2012

The Last Word on Many From One

It turns out that building multiple targets from one source code base is both easy and hard, both simple and complex. It all depends not only on the ultimate products you want t...

Read more

May 25, 2012

Many From One, Again

Several months ago I wrote about some tricks I was using to build many targets from one code base . The rubber is meeting the road on that project as we get closer to being read...

Read more

December 9, 2011

The Stunning Utility of Global Classes

Set aside any ideas you may have that global data is evil. If you spend any time on the StackOverflow website, you've likely seen questions like "How do I share data from one vi...

Read more