Author Archives: Ben
Cocos2D, AI, and a simple Asteroids clone
Things have been a bit hectic at work lately and I couldn’t really devote as much time to programming as I would like. That said, I have managed to spend a bit of time taking a detour and learning a … Continue reading
Saving and loading data: NSCoding and NSKeyedArchiver
There are several ways to store data for Cocoa applications. You could implement your own file loading and saving methods and store the data in any number of formats you want, but it’s time-consuming. You could use Cocoa’s built-in database … Continue reading
Concepts: Delegation and protocols
One concept that pops up frequently in Cocoa programming is that of delegation. In fact, we’ve already seen that concept in my previous post about NSOutlineView. We set the delegate of our NSOutlineView to be the TodoController. We also set … Continue reading
Sources lists and NSOutlineView
First up on my list of tasks to perform is to set up the sidebar to display the groups and sections. When choosing from the elements in Interface Builder (IB), there are two options: Outline Views, or Source Lists. An … Continue reading
What’s Next? A first project.
I was originally thinking about jumping straight into developing my major idea. I even wrote up a list of features and have a screen layout sitting inside my head. Unfortunately, it’s probably a little too big for me to tackle … Continue reading
On web and software development
It’s been a while since I’ve blogged. There are a few reasons for that, but one of the mains ones is that web development hasn’t really been exciting me much lately. Mainly I think this is because it’s often frustrating, … Continue reading