title: drawInRect:withAttributes vs drawInRect:withFont:lineBreakMode:alignment
body: <p>I'm working on a new version of my app and am attempting to replace deprecated messages, but am not able to get past this one.</p>
  
  <p>I can't figure out why <code>drawInRect:withAttributes</code> is not working.  The code displays properly when <code>drawInRect:withFont:lineBreakMode:alignment</code> message is sent, but does not work when <code>drawInRect:withAttributes</code> is sent.</p>
  
  <p>I'm using the same rect and font and I what I believe is the same text style.  The constants are just positioning the rect just below an image, but I'm using the same rect for both calls, so I'm certain the rectangle is correct.</p>
  
  <p>(note that <strong>bs.name</strong> used below is an NSString object)</p>
  
  <pre><code>        CGRect textRect = CGRectMake(fCol*kRVCiPadAlbumColumnWidth,
                                       kRVCiPadAlbumColumnWidth-kRVCiPadTextLabelYOffset,
                                       kRVCiPadAlbumColumnWidth,
                                       kRVCiPadTextLabelHeight);
          NSMutableParagraphStyle *textStyle = [[NSMutableParagraphStyle defaultParagraphStyle] mutableCopy];
          textStyle.lineBreakMode = NSLineBreakByWordWrapping;
          textStyle.alignment = NSTextAlignmentCenter;
          UIFont *textFont = [UIFont systemFontOfSize:16];
  </code></pre>
  
  <p>This doesn't work (nothing is drawn on the screen) using the variables from above</p>
  
  <pre><code>        [bs.name drawInRect:textRect
               withAttributes:@{NSFontAttributeName:textFont,
                                NSParagraphStyleAttributeName:textStyle}];
  </code></pre>
  
  <p>This Does work (the string is drawn properly on the screen) using the same variables from above</p>
  
  <pre><code>        [bs.name drawInRect:textRect
                     withFont:textFont
                lineBreakMode:NSLineBreakByWordWrapping
                    alignment:NSTextAlignmentCenter];
  </code></pre>
  
  <p>Any assistance would be great.  Thanks.</p>