Displaying a loading indicator for UIWebView using UIActivityIndicatorView

Posted by Filip Ekberg on December 1 2010 8 Comments

More and more apps today uses only the native application as a shell around their web-based application to get their app into App Store. A drawback with doing this is that you might get really annoying load times and you have to decide where to put the “wait for the data”-scene. In my opinion you […]

Vote on HN

A work around to the memory leaks in NSXMLParser

Posted by Filip Ekberg on November 30 2010 7 Comments

Lately I’ve experimenting a bit with parsing XML in Objective-C and discovered something that I’d like to share with you all. First of all, consider the following “standard” way of downloading an XML and parsing it NSXMLParser *parser = [[NSXMLParser alloc]             initWithContentsOfURL: [NSURL             […]

Vote on HN

Function pointers in C and Python and their possible usage

Posted by Filip Ekberg on November 30 2009 Leave a Comment

Function pointers? you might ask yourself, well this little trick gets handy sometimes, I will provide an example of a practical use in a later post on the next euler solution. Might actually do it in C too just to prove that C is still neat. So to kick this off, what are function pointers? […]

Vote on HN