title: Why isn't initWithCoder initializing items correctly?
body: <p>I've got a subclass of <code>UITableViewCell</code>. My subclass contains several <code>UILabel</code>s. I want my subclass to initialize these labels to some default settings that applies to every table view cell of mine.</p>
  
  <p>I read that I should be using <code>initWithCoder</code> for this. My <code>initWithCoder</code> function is being called, and I can step through each line in my function and it appears to go through the motions. When I run my application I do not see any of the properties being applied, though. Most noticeably, the font is not being changed. I just don't think any of the properties that I'm modifying on my <code>UILabel</code>s are actually being saved, or displayed.</p>
  
  <p>I'm using this subclass in conjunction with a <code>Storyboard</code>. I know my changes will not be reflected on the <code>Storyboard</code>, but they're also not being reflected when the application runs - despite my code being executed.</p>
  
  <p>Edit: I wanted to mention that prior to trying to override <code>initWithCoder</code>, I had an instance method in these subclasses that I'd run this logic in. I would just call that instance method inside of <code>cellForRowAtIndexPath</code>. This method was working, but I thought it'd be handy to have this logic in this subclass occur automatically.</p>
  
  <p>Any ideas? My code is below:</p>
  
  <pre><code>#import "ThreadListCell.h"
  
  @implementation ThreadListCell
  
  - (id)initWithCoder:(NSCoder *)aDecoder {
  
      if ((self = [super initWithCoder:aDecoder])) {
  
          // adjust the font settings of the title
          self.title.font = [UIFont fontWithName:@"SourceSansPro-Black" size:16];
          self.title.textColor = [UIColor colorWithWhite:0.267f alpha:1.0f];
  
          // adjust the font settings of the subtitle
          self.text.font = [UIFont fontWithName:@"SourceSansPro-Light" size:14];
          self.text.textColor = [UIColor colorWithWhite:0.267f alpha:0.9f];
          self.text.textColor = [UIColor colorWithRed:1 green:0 blue:0 alpha:1];
  
          // adjust the font settings of the location
          self.location.font = [UIFont fontWithName:@"SourceSansPro-Light" size:8];
          self.location.textColor = [UIColor colorWithWhite:0.267f alpha:0.9f];
  
          // adjust the UILabel settings of the title
          self.title.numberOfLines = 0;
          self.title.lineBreakMode = UILineBreakModeTailTruncation;
  
          // adjust the UILabel settings of the subtitle
          self.text.numberOfLines = 0;
          self.text.lineBreakMode = UILineBreakModeTailTruncation;
  
          // adjust the UILabel settings of the location
          self.location.numberOfLines = 0;
          self.location.lineBreakMode = UILineBreakModeTailTruncation;
          self.location.textAlignment = UITextAlignmentRight;
  
      }
  
      return self;
  
  }
  
  @end
  </code></pre>
  
  <p>And the header:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @interface ThreadListCell : UITableViewCell
  
  @property (nonatomic, weak) IBOutlet UILabel *text;
  @property (nonatomic, weak) IBOutlet UILabel *title;
  @property (nonatomic, weak) IBOutlet UILabel *location;
  
  @end
  </code></pre>