I spent a little bit of time last weekend looking into ways I can more effectively share code between projects. I’ve gone back and forth on ways to do this and I finally feel satisfied with what I’ve got.
more »
Posted in Dev Journal | 2 Comments »
Categories in Objective-C can be a great thing. Being able to add methods to a class is a powerful feature. However, one weakness is that those methods only get added to one class. If I want the methods in a category to apply to more than one class, I have to put that category on a subclass. If I want to generic apply the category, I have to put it on NSObject (and then the methods are almost certainly available on classes I don’t really care about). Sometimes it would be nicer if I could choose individual classes that the methods are added to. This is done often in Ruby through the use of modules. more »
Posted in Dev Journal | 4 Comments »
Once I started using my enumerations class, I quickly ran into a problem: how do I get all the enumeration values? It sounds like a simple problem to fix, but it turned out to be a bit more complicated. more »
Posted in Dev Journal | 1 Comment »
I haven’t done much with DocBase since the last post, but I’ve by no means abandoned it. Right now, it’s serving well enough for development purposes in my application and I don’t want add features that end up being unneeded. However I did run into another issue that I thought was general enough to be talked about: enumerations. more »
Posted in Dev Journal | No Comments »
One thing remained to make my document database at least somewhat useful. We could find documents by document Id, but nothing else, so we’ll fix that now. more »
Posted in Dev Journal | No Comments »
BRDocBase wasn’t really usable where I left off, so I’ve got a few tasks before it’s at least in a state where I can use it for development purposes.
more »
Posted in Dev Journal | No Comments »
So, apparently, I enjoy doing things that have already been done. Perhaps I feel I can do them better, or perhaps I’m just unimaginative and can’t think of anything else to do. Well, what interests me right now is data storage. At this point you could say ‘Dude! CoreData! Get a clue!’ and you’d be right. CoreData is really nice, but I have something a little bit different in mind. more »
Posted in Dev Journal | 2 Comments »
So I’m attempting to blog…again. I think this will be my third attempt. Maybe since all the cool kids have moved on to twitter, I’ll be able make it stick this time. My plan is to mostly journal about a project I’m working, and hopefully blogging about it will help me keep both going.
Before I get started on my project, I’m going to go a bit into unit testing. I admit that I still struggle with writing good unit tests on whatever platform I’m developing for, and really, Xcode doesn’t make it much easier. Things have gotten better in Xcode, but I’m still not really satisfied with the current method for creating unit tests. So I’m stealing a couple of ideas.
more »
Posted in Dev Journal | 1 Comment »