I\'m trying to reverse string in Swift 2.0 but I get an error on the string ifself.
func reverseString(string: String) -> String { var buffer = \"\"
As of Swift 2, String doesn't conform to SequenceType.
String
SequenceType
You can add an extension.
extension String: SequenceType {}