Oct 19 2008
It is nice to know that the NSURLConnection class supports gzip out of the box. The NSURLConnection class also does auto-decoding of the compressed data when the compressed content is received. However, by default even though the NSURLConnection class is handling this, it does not automatically add the required header to the HTTP request.
Oct 16 2008
The XIB file format is introduced in the Interface Builder 3 on Leopard. It replaces the previous file format NIB, short for NeXT Interface Builder. The Interface Builder application is a GUI for building and assembling user-interface objects, images and references to sounds for your Mac application. It allows you to drag and drop user-interface objects such as buttons, tableviews onto a window and layout the objects visually. These objects are archived and saved as a XIB file. When an application launches, these XIB files are loaded and un-archived. The user-interface objects are then made available to the application.
Oct 02 2008
Even though Objective-C has support for private, protected and public instance variables, there is no notion of private methods. Every method is considered as public. However, there is an easy approach to make mock private methods by using categories.