title: NSAttributedString combination of 2 Strings with new line
body: <p>I'm trying to achieve this kind of date
  <a href="https://i.stack.imgur.com/Jrl0j.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Jrl0j.png" alt="Date"></a></p>
  
  <p>inside a collection view cell.
  So i have the day's number and the month on 2 separate strings.</p>
  
  <pre><code>var day = example.date
  var month = example.month
  </code></pre>
  
  <p>and with the functions below I'm changing them font color etc.</p>
  
  <pre><code> func formatMonth(fullString: String, fontSize: Double) -&gt; NSMutableAttributedString
  {
      let range = (fullString as NSString).range(of: fullString)
  
      var myMutableString = NSMutableAttributedString()
  
      myMutableString = NSMutableAttributedString(string: fullString)
  
      myMutableString.setAttributes([NSFontAttributeName : UIFont(name: "HelveticaNeue-Bold", size: CGFloat(fontSize))!
          , NSForegroundColorAttributeName : UIColor.red], range: range)
  
  
      return myMutableString
  }
  func formatDay(fullString: String, fontSize: Double) -&gt; NSMutableAttributedString
  {
      let range = (fullString as NSString).range(of: fullString)
  
      var myMutableString = NSMutableAttributedString()
  
      myMutableString = NSMutableAttributedString(string: fullString)
  
      myMutableString.setAttributes([NSFontAttributeName : UIFont(name: "HelveticaNeue", size: CGFloat(fontSize))!
          , NSForegroundColorAttributeName : UIColor.black], range: range)
  
  
      return myMutableString
  }
  </code></pre>
  
  <p>And the variables are becoming like this</p>
  
  <pre><code>let theMonth = formatMonth(fullString: example.month, fontSize: 15)
  let theDay = formatDay(fullString: example.date, fontSize: 13)
  </code></pre>
  
  <p>Then i combine them</p>
  
  <pre><code>let combination = NSMutableAttributedString()
          combination.append(theDay)
          combination.append(theMonth)
  </code></pre>
  
  <p>and finally i get the combination of the text.</p>
  
  <pre><code>date.attributedText = combination
  </code></pre>
  
  <p>So by this approach i can see the one next to the other <code>8FEb</code> </p>
  
  <p>how can i add a breaking line between them? </p>