title: How to set an optional string as text in UiTextLabel?
body: <p>I have string name which seems to be an optional name. I need to set that to the textlabel. But this somehow does not seem to work as in the UI the text is not set.
  when I print out the string unwrapped it looks fine.
  But when I set the string unwrapped to the uitextlabel.text and print that one out, it seems to be not good as still the keyword optional appears.
  How can I assign this string unwrapped to the uitextlabel.text correctly?</p>
  
  <pre><code>var name : String?
  
   override func viewDidLoad() {
      super.viewDidLoad()
      print("School detail view loaded and print address")
  
  
      let rect = view.bounds
  
      //set header and footer
    //  schoolNameLabel.text = "set value 1"
   //   print(schoolNameLabel.text )
  
      if let unwrapped = self.name {
          print("print unwrapped")
          print(unwrapped)
  
          schoolNameLabel.text = unwrapped
          print("print label.text")
          print(schoolNameLabel.text)
  
      }
  </code></pre>
  
  <p>Output on console:</p>
  
  <pre><code>print unwrapped
  Milner college
  
  print label.text
  Optional("Milner college")
  </code></pre>