Adding a Drop Shadow to a UINavigationBar

Posted on November 2010

For the past few days, I’ve been trying to figure out a way to apply a drop shadow to all of the UINavigationBar instances without having to create alot of extra work by subclassing the UINavigationBar, and also having to sub class the UINavigationController.

After reading a few Stack Overflow posts, I was able to successfully create a category on UINavigationBar that applies the drop shadow successfully.

Finding the Average Value of a column on a Core Data Entity

Posted on October 2010

I’ve been having trouble the past few days finding the solution to this question.  It was in the Core Data documentation, but considering how vast it was, I hoped that a simple Google query would have provided my answer. Here’s the original question over at Stack Overflow, and here’s a snippet of code I used to succesfully get the average value of a column on one of Core Data entities.