Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/akosmatr/www/akosma.com/wp/wp-includes/plugin.php on line 600

Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /home/akosmatr/www/akosma.com/wp/wp-includes/plugin.php on line 600
Network | akosma

Top Tags

Tag Network

A Proposed Architecture for Network-Bound iOS Apps

One of my most popular answers in StackOverflow is the one I gave to the following question: “What is the best architecture for an iOS application that makes many network requests?” The problem is the following: let’s consider a relatively complex application, which has to connect to, and retrieve and send data from different remote […]

initWithContentsOfURL: Methods Considered Harmful

As I promised on Twitter, here’s a small discussion about the problems brought by the “initWithContentsOfURL:” family of methods. A quick search in the Xcode documentation browser brings in an interesting list of classes including this initializer (with or without additional parameters): NSArray NSManagedObjectModel NSData NSDictionary NSXMLParser NSMappingModel NSString AVAudioPlayer Don’t get me wrong, the […]