iOS/Swift: ne Peut pas affecter Chaîne facultative pour UILabel propriété text

UILabel a un texte de propriété, qui est une Chaîne facultative, mais elle semble se comporter comme un implicitement déballé en option. Pourquoi ne puis-je pas l'attribuer à une autre Chaîne facultative? Merci.

@IBOutlet weak var tweetContent: UILabel!

...

var unopt: String = "foo"
var opt: String? = "bar"
var opt2: String?
opt2 = opt                       //Works fine
cell.tweetContent.text? = unopt  //Works fine
cell.tweetContent.text? = opt    //Compile error: Value of optional type 'String?' not unwrapped
InformationsquelleAutor DenverCoder9 | 2015-02-19