The Swift Programming Language guide has the following example:
class Person { let name: String init(name: String) { self.name = name } var apar
If you use it as an optional, it unwraps the optional and sees if something is there. If you use it in an if-else statement is is code for NOT. For example,
if (myNumber != 3){ // if myNumber is NOT 3 do whatever is inside these brackets. )