title: Objective C - How do I use initWithCoder method?
body: <p>I have the following method for my class which intends to load a nib file and instantiate the object:</p>
  
  <pre><code>- (id)initWithCoder:(NSCoder*)aDecoder 
  {
      if(self = [super initWithCoder:aDecoder]) {
          // Do something
      }
      return self;
  }
  </code></pre>
  
  <p>How does one instantiate an object of this class?
  What is this <code>NSCoder</code>? How can I create it?</p>
  
  <pre><code>    MyClass *class = [[MyClass alloc] initWithCoder:aCoder];
  </code></pre>