Monthly Archives: February 2012

iOS development – NSXMLParser

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 [...]

Posted in iOS | Tagged , | Comments closed

What to do after the finish line?

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 [...]

Posted in my life, thoughts | Comments closed

iOS development – iiNet Volume Usage API

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 [...]

Posted in iOS, my life, programming | Tagged | Comments closed

iOS development – Removing whitespace & newlines from a string

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. Tweet

Posted in iOS, programming | Tagged , | Comments closed

iOS development – NSString to enum value

I’m currently parsing an XML response from an API. I had created an enum for one of my data types. The issue is that what I’m parsing from the XML is going to be an NSString. I needed a way to convert that string into something from my enum. lha, answered with this on stackoverflow. [...]

Posted in iOS, link, programming | Tagged , | Comments closed

What comes with change?

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 [...]

Posted in my life, thoughts | Comments closed

iOS development – Intervalist example App

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! Tweet

Posted in iOS, programming | Tagged , , | Comments closed

Page optimized by WP Minify WordPress Plugin