In my most recent project I used NSXMLParser. This is purely event driven parsing; which means you step through the XML line by line. The easier way is by xpath’s, however I wanted to use what was there by default and learning things the hard way makes you appreciate things more… First things first. In [...]
Monthly Archives: February 2012
How do you keep on going when you hit that I’ve finished it moment? Is it better to believe that you can never truly finish something? Or is it a personal battle to constantly redefine what finished means each time you hit your latest definition? I’ve noticed that each time I’ve finished a piece of [...]
iiVolumeUsageAPI. First attempt at implementing an interface of sorts to the iiNet Toolbox API. The end result is a single function to call and an object model that mirrors the XML response format. My hope is that the object models make it a lot easier to work with. It’s possibly very fragile at the moment [...]
NSString *newString = [stringValue stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; Here we take advantage of the class function whitespaceAndNewlineCharacterSet found in NSCharacterSet. Using the existing methods available in NSString saves a lot of manual work and more than likely dealing with an NSMutableString instead.
Will everything be better? Does what you now hate become your passion? For how long? Is change a way from you to run away from yourself. To avoid making big decisions to offset what’s really the cause of the problem. Change for the right reasons. Otherwise misery will always be behind you. Ready to creep [...]
Intervalist is a simple complete app that demonstrates usages of @protocol’s. It’s not the prettiest app, but hopefully you can find it useful for learning or your own projects!