Debugging a memory increase, using Generational Analysis

November 19th, 2013 Posted by: - posted under:Articles » Tutorials - 6 Comments

I was recently working on an internal project for Burnside Digital, and decided it was time to do some memory profiling to make sure that I didn’t have any leaks. I ran the program with the ‘Leaks’ tool of instruments, and as I was watching the Live Bytes column, I saw the number of Bytes being used, slowly but surely increasing as time went on. Instruments wasn’t detecting any leaks, so I knew this wasn’t going to be a straightforward leak …


Making UITableViews look not so plain

November 19th, 2011 Posted by: - posted under:Featured » Tutorials - 8 Comments

As most of you probably know, UITableView’s are incredibly useful and versatile views to be using in your applications.
If you have ever tried to customize a UITableView though, you know that as soon as you start adding lots of UIViews, UILabels, and UImageViews to a cells ContentView, that these tableviews start to scroll slower and slower, and become choppier and choppier.
What we are going to explore today is how to remedy that situation.
To download the entire XCode project, you can …


Using Git Versioning inside your XCode Project

March 23rd, 2011 Posted by: - posted under:Featured » Tutorials - 13 Comments

This tutorial will show you how to automatically fill in CFBundleVersion and CFBundleShortVersionString, when using Git.
This has been tested in Xcode 3.2.5 (Updates for Xcode 4 at the bottom)
Git Setup
First off you need a project that is checked into git, and is also tagged with an initial version number.
If you already have git setup for your project, skip down to XCode Setup
To locally setup up git, without a remote repository, after installing git, issue the following commands
cd into your project …


An Introduction to Categories (Part 2 of 2)

February 24th, 2011 Posted by: - posted under:Featured » Tutorials - 3 Comments

Using Categories to enhance models, and get rid of those pesky compiler warnings
When using Core Data, our model classes are always generated. What happens if we wanted to add a couple utility functions to one of these generated classes? Yep, they would be discarded the next time we auto-generated our model classes. As we discussed in our previous categories post (, adding a category on one of these generated classes would enable us to add those utility …


An Introduction to Categories (Part 1 of 2)

November 4th, 2010 Posted by: - posted under:Featured » Tutorials - 11 Comments

Have you ever wished that you could add one, or a couple, additional functions to an Objective-C core class?
Well Apple has thought of this, and they provide a way without extended the class! The way to do this is called a category. A category is a way to enhance an existing class, by adding additional functions to it. The difference between this and extending a class is that when you extend a class, you can add additional functions, as …