You need to write it as follows:
self.displayResultLable.text = self.displayResultLable.text! + title as! String
This is because of the left side is optional, but the right side is not, and they do not match. That is why you need to write label.text = label.text + ...
I can also suggest you change if let to this instead:
if let title = books.valueForKey("title") as? String { self.displayResultLable.text = (self.displayResultLable.text ?? "") + title }
source share