As the title says I\'m trying to append text to an implicitly unwrapped optional String via += operator which gives me
\'String!\' is not identical
There's nothing wrong in your code. It looks like in Swift's standard library there's no += operator overload made to work with String optionals.
Taken from the standard library, += is overloaded for String (not for String?)
func +=(inout lhs: String, rhs: String)
Just follow this nice SO answer to view the contents of the Swift standard library to check that
Note
Your code will be better written as:
var myOptionalString: String? = "Foo "
myOptionalString
myOptionalString! += " bar"