
For my radio show iPhone application project, I wanted to use the metadata contained in my enhanced podcast files. Including:
- chapter information (artist/song)
- chapter start time
- chapter image
Once I had this information I wanted to store it in XML on my server so I could access it whenever I wanted (from the iPhone application).
Read more…

I have been working on a project that requires me to stream audio from a webserver to the iPhone, starting at an offset in an mp3 file. I showed how to modify Matt Gallagers awesome AudioStreamer code in a previous post. What I find myself doing quite a bit is stopping play on one file and starting play on another. Obviously you want the gap between tracks to be as minimal as possible.
The easy way to do this would be just to keep track of duration in a ’switcher’ object, Read more…

I found that I was needing an XML parser for nearly every iPhone application I was writing. Once you figure out the streaming nature of NSXMLParser, it really isn’t very difficult to use. However, since I was always having the didStartElement/foundCharacters/didEndElement functions in each application, I really wanted to break them out into a reusable class.
I found that most my XML implementations were VERY simple, as I was just using it for data storage and transfer. However, of course, each XML is different so my class has to handle that properly.
After making several iterations, I settled on using an NSArray for the root of the XML file. Each node is a NSDictionary with three object/key pairs:
Read more…

To everyone looking for my old project
AirportTraffic, I have decided to make this domain point directly to my new blog. Say Goodnight Software, and any projects I do with the name will just be posted to this blog.
As for AirportTraffic, I havn’t done much work on it lately. I still have plans to update it, but my focus has been on PC/Windows applications lately, so I havn’t done much OSX development. If you are new to AirportTraffic it is a simple utility for OSX 10.5+ that uses SNMP to communicate to an Aiport Extreme base station & retrieve WLAN bandwidth usage statistics.
You can download the source and hack on it yourself by going to the
GoogleCode page.