title: NSAttributedString Writing Direction
body: <p>I am trying to change the write direction in an NSAttributedString. However, I have a really hard time figuring out how to do it.</p>
  
  <pre><code>CTFontRef fontRef = CTFontCreateWithName((CFStringRef)@"ArialRoundedMTBold", 16, NULL);
  
  NSDictionary *attrDictionary = [NSDictionary dictionaryWithObjectsAndKeys:(__bridge id)fontRef,(NSString *)kCTFontAttributeName, nil];
  CFRelease(fontRef);
  
  NSAttributedString *attString=[[NSAttributedString alloc] initWithString:self.stringMap attributes:attrDictionary];
  
  self.attString = attString;
  </code></pre>
  
  <p>This is the code in which I initialise my NSAttributedString and I have read about the constant <strong>kCTWritingDirectionRightToLeft</strong> and I feel like I have to put it in somewhere but I can figure out where and how.</p>
  
  <p>Anyone got any suggestions?</p>