In Swift, class and struct are similar, but also very different. To understand it in C++'s term, a variable of class is like a pointer to an object, a variable of struct is just the object itself.
Download notes: http://boqian.weebly.com/swift.html