I think this post will be useful to someone new to the iOS development. One of the most important and commonly used classes in Cocoa is UIViewController. Creating any non-trivial application will involve subclass and creating your own view controller. There are a lot of topics and tutorials elsewhere, so I’m not going to repeat […]
iOS Development: Proper Use of initWithNibName:bundle: Affects UITableViewController
Programming iOS 4: Making Simple Ideas Complicated?
I have done a bit of iOS development lately. While trying to get myself familiarized with the new platform, I came across this book titled “Programming iOS 4″. I skimmed through some sections and found this paragraph: You should not use a view controller in any other way. It is not, for example, appropriate to […]
Scripted Debug Using GDB To Find Memory Leak
I recently ran into some hard to find memory leaks. The program only runs on Linux. The memory leaks are detected using a custom memory allocator (using an atomic counter for allocation/deallocation size). In single thread mode, the program terminated without leaking, but running in multithread mode resulted in 1.7 to 4 KB of leaked […]
C++ Serialization
I’m working on a project where I need to dump out object data for both debugging purpose as well as a way to store them persistently. My initial implementation which overloads C++ iostream for each of the objects proven to be inadequate when the amount of data I’m writing out become larger and more complex. […]